|
|
@ -27,7 +27,7 @@ function current_branch() {
|
|
|
|
echo ${ref#refs/heads/}
|
|
|
|
echo ${ref#refs/heads/}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# these aliases take advangate of the previous function
|
|
|
|
# these aliases take advantage of the previous function
|
|
|
|
alias ggpull='git pull origin $(current_branch)'
|
|
|
|
alias ggpull='git pull origin $(current_branch)'
|
|
|
|
alias ggpush='git push origin $(current_branch)'
|
|
|
|
alias ggpush='git push origin $(current_branch)'
|
|
|
|
alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
|
|
|
|
alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
|
|
|
|