Git command & Functions on Eclipse - achille005/DevMaterials GitHub Wiki
Reverting
git checkout -- fileName.jsp //revert uncommitted changes git checkout -- . //revert many uncommited changes
git revert somepreveiouscommitid //and reverted committed git -n revert somepreveiouscommitid //and reverted is uncommitted
or
use eclipse to "replace with previous version" //revert committed changes
git reset --hard somecommitid -- somepreveiouscommitid //revert all committed after that comitted id