...
|
...
|
@@ -8,6 +8,7 @@ alias gd='git diff | mate'
|
8
|
8
|
alias gdv='git diff -w "$@" | vim -R -'
|
9
|
9
|
alias gc='git commit -v'
|
10
|
10
|
alias gca='git commit -v -a'
|
|
11
|
+alias gco='git checkout'
|
11
|
12
|
alias gb='git branch'
|
12
|
13
|
alias gba='git branch -a'
|
13
|
14
|
alias gcount='git shortlog -sn'
|
...
|
...
|
@@ -26,7 +27,7 @@ function current_branch() {
|
26
|
26
|
echo ${ref#refs/heads/}
|
27
|
27
|
}
|
28
|
28
|
|
29
|
|
-# these aliases take advangate of the previous function
|
|
29
|
+# these aliases take advantage of the previous function
|
30
|
30
|
alias ggpull='git pull origin $(current_branch)'
|
31
|
31
|
alias ggpush='git push origin $(current_branch)'
|
32
|
|
-alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
|
33
|
32
|
\ No newline at end of file
|
|
33
|
+alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
|