Last active
December 26, 2015 20:08
-
-
Save pmiossec/7205868 to your computer and use it in GitHub Desktop.
tig binding commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tig "bind"] | |
# Amend last commit in status view | |
status = A !?git commit --amend | |
#Create a branch | |
main = ^b !?git checkout -b %(prompt) | |
#Push to Remote repository | |
main = ^o !git push origin | |
#Stash modifications | |
generic = ^s !@git stash save | |
generic = ^S !@git stash pop | |
#Fetch | |
main = ^f !git fetch --all --prune | |
#Rebase | |
main = ^r !git pull --rebase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment