add example on git revert
+ differenciate from git restore
#59
Labels
beta-stage
To do before upgrade life cycle to beta
documentation
Improvements or additions to documentation
keypoints:
git checkout
to move around and review the commit historygit revert
is the best tool for undoing shared public changesgit reset
is best used for undoing local private changesgit clean
for undoing uncommitted changesgit restore
to discard changes in working directory [this is the revert button in RStudio - misunderstanding]The text was updated successfully, but these errors were encountered: