How can I remove my last commit in my local git repository
- by michael
Hi,
This is the output of my 'git log'. But when I do a 'git pull' , the top commit causes conflict. So I did a 'git rebase -abort'
commit 7826b25db424b95bae9105027edb7dcbf94d6e65
commit 5d1970105e8fd2c7b30c232661b93f1bcd00bc96
But my question is Can I 'save' my commit to a patch and then do a git pull?
Just like I want to emulate
* I did not do a git commit, but I did a 'git stash' instead
* Do a git pull so that I should not get any merge error
So I need to somehow 'turn back the clock'. Is that possible in git?