Skip to content
Rob Yang edited this page Nov 11, 2016 · 8 revisions

Welcome to the reference_sheet wiki!

git

ACTION COMMAND
Rename any branch git branch -m [old name] [new name]
Rename current branch git branch -m [new name]
Prune branches git remote prune origin
Squash commits git rebase -i master
Stash changes git stash
View list of stashed changes git stash list
Restore stashed change git stash apply [the thing from list]

Clone this wiki locally