Thursday, March 27, 2014

Git undo

If you want to revert changes made to your working copy, do this:

If you want to revert changes made to the index (i.e., that you have added), do this:

If you want to revert a change that you have committed, do this

No comments:

Post a Comment