Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # this only set my HEAD on the wanted commit.
- $ git reset --hard HEAD
- $ git reset --hard 055c700
- # this made a new branch called HEAD instead of my actual HEAD, which was a pain to delete afterwards
- $ git checkout -B "HEAD" "master"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement