Skip to content

Instantly share code, notes, and snippets.

OmidK / O's awesome Git reference
Created April 3, 2013 22:18
This is what I use everyday at work whenever GitX-L is not cutting it.
View O's awesome Git reference
# clone branch
git checkout -b <branchName> origin/<branchName>
# make sure ssh is working
git ls-remote
# back to master
git reset --hard HEAD
# revert many commits