... | ... |
@@ -6,24 +6,21 @@ compdef _git gst=git-status |
6 | 6 |
alias gl='git pull' |
7 | 7 |
compdef _git gl=git-pull |
8 | 8 |
alias gup='git fetch && git rebase' |
9 |
-compdef gup=git |
|
9 |
+compdef _git gup=git-fetch |
|
10 | 10 |
alias gp='git push' |
11 | 11 |
compdef _git gp=git-push |
12 |
-alias gd='git diff | mate' |
|
13 |
-# WTF is mate?? |
|
14 |
-compdef _git gd=git-diff |
|
15 | 12 |
gdv() { git diff -w "$@" | view - } |
16 |
-compdef gdv=git |
|
13 |
+compdef _git gdv=git-diff |
|
17 | 14 |
alias gc='git commit -v' |
18 |
-compdef gc=git |
|
15 |
+compdef _git gc=git-commit |
|
19 | 16 |
alias gca='git commit -v -a' |
20 |
-compdef gca=git |
|
17 |
+compdef _git gca=git-commit |
|
21 | 18 |
alias gco='git checkout' |
22 | 19 |
compdef _git gco=git-checkout |
23 | 20 |
alias gb='git branch' |
24 | 21 |
compdef _git gb=git-branch |
25 | 22 |
alias gba='git branch -a' |
26 |
-compdef gba=git |
|
23 |
+compdef _git gba=git-branch |
|
27 | 24 |
alias gcount='git shortlog -sn' |
28 | 25 |
compdef gcount=git |
29 | 26 |
alias gcp='git cherry-pick' |