RawSushi's Tech Journal
My online tech scrapbook where I keep my notes in case I need to look them up later
Tuesday, June 10, 2014
Git Checkout to a Specific Commit
In Git, to get your workspace code to that of a specific commit:
git checkout 0fe3207
To go back to HEAD e.g. in the "master" branch:
git checkout master
References:
http://githowto.com/getting_old_versions
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment