Best on this is:http://stackoverflow.com/questions/4114095/git-revert-to-previous-commit-how
I like this way:
I like this way:
git checkout 0d1d7fc32 .
git commit
Also you can do the following if you have some local modifications:
git stash git checkout 0d1d7fc32 git stash pop git commit
No comments:
Post a Comment