Cheatography
https://cheatography.com
https://github.com/jhillyerd/plugin-git
Checkout
gco |
|
gcod |
|
gcom |
git checkout (__git.default_branch)
|
gcb |
|
Commit
gcam |
|
gcm |
|
gc |
|
gc! |
|
gcn! |
git commit -v --no-edit --amend
|
gca |
|
gca! |
|
gcan! |
git commit -v -a --no-edit --amend
|
|
|
Pull
gl |
|
ggl |
git pull origin 'current-branch'
|
gup |
|
Push
gp |
|
gp! |
git push --force-with-lease
|
gpu |
git push --set-upstream origin (current-branch)
|
Rebase
grb |
|
grba |
|
grbc |
|
grbi |
git rebase --interactive
|
grbs |
|
|
|
Merge
gm |
|
gmom |
git merge origin/(__git.default_branch)
|
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by btqn