Monday, February 17, 2014

Revert to previous Git commit - Stack Overflow

Revert to previous Git commit - Stack Overflow: " This will detach your HEAD, i.e. leave you with no branch checked out:
git checkout 0d1d7fc32
or if you want to make commits while you're there, go ahead and make a new branch while you're at it:

git checkout -b old-state 0d1d7fc32"



'via Blog this'

No comments:

Post a Comment