Git Cheats
Git Cheats
Here are some useful commands to use with git
Abandon a merge
git reset --hard HEAD
Find out which branch a commit is on
git branch -a --contains <commit>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium.
Here are some useful commands to use with git
Abandon a merge
git reset --hard HEAD
Find out which branch a commit is on
git branch -a --contains <commit>