I had some changes on master and then I created a branch where I added all my changes. Then, I went back to master to remove the changes that I did. I entered git checkout .
which unstaged all of my changes on master and the branch.
Any ideas?
I had some changes on master and then I created a branch where I added all my changes. Then, I went back to master to remove the changes that I did. I entered git checkout .
which unstaged all of my changes on master and the branch.
Any ideas?
Unfortunately, no, you can't "revert" the git checkout .
command you entered. Your changes are gone, sorry :(.
Please check git-undoing-things for more information.