I have just used Git programming. The problem case is as follows:
” I have just committed my changes on a master branch, and generated a patch on that.
Actually I just want to save the patch and return back to the position before I did this commit? How can I do that?”
Thanks
You run
git log, you find the sha1 of the commit you want to go to, and you runIf you want to start commiting from this point you create a new branch at this point with
Or you can just move
masterto this sha1 with