REWRITE HISTORY Flashcards
Git Commands (2 cards)
1
Q
apply any commits of current branch ahead of specified one
A
git rebase [branch]
2
Q
clear staging area, rewrite working tree from specified commit
A
git reset –hard [commit]