RawSushi's Tech Journal
My online tech scrapbook where I keep my notes in case I need to look them up later
Monday, February 16, 2015
Git: Reverting Back Multiple Commits
Let's say you want to roll back the Git repository back to a specific commit e.g. by getting rid of the last 8 commits. This is how it's done:
git revert HEAD~8..HEAD
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment