|
|
@@ -1,6 +1,7 @@
|
|
|
# preferred git shortcuts, not in the git plugin
|
|
|
|
|
|
alias ga.='git add .'
|
|
|
+alias gap='git add -p'
|
|
|
|
|
|
alias gs='git status'
|
|
|
alias gd='git diff'
|
|
|
@@ -31,6 +32,8 @@ alias gsr='git show --format=raw'
|
|
|
|
|
|
# useful if you forget to setup tracking for a new branch when checking out.
|
|
|
alias track='git branch --set-upstream $(current_branch) origin/$(current_branch) && git fetch'
|
|
|
+alias gsu='git submodule sync && git submodule update --init'
|
|
|
+alias gsp='git submodule foreach git pull origin master'
|
|
|
|
|
|
# useful omz git plugin ones include:
|
|
|
# ga, gc, gco, gb, gba, gm, grhh, ggpull, ggpush
|