-
Notifications
You must be signed in to change notification settings - Fork 1
Git Head
Kenneth Kasajian edited this page Aug 8, 2014
·
7 revisions
git checkout <commit Id>
git checkout <commit Id>^
or
git checkout <commit Id>~1
git checkout <commit Id>^^
or
git checkout <commit Id>~2
git checkout master^^
or
git checkout master~2
git checkout master
git reset <commit Id>
or
git checkout master
git reset bugFix
or
git branch -f master <commit Id>
or
git branch -f master bugFix