mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Merge 53afac789e into 319aafce8b
This commit is contained in:
commit
162db9fa0f
1 changed files with 2 additions and 2 deletions
|
|
@ -120,13 +120,13 @@ function current_repository() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# these aliases take advantage of the previous function
|
# these aliases take advantage of the previous function
|
||||||
alias ggpull='git pull origin $(current_branch)'
|
alias ggpull='git pull origin refs/heads/$(current_branch):refs/remotes/origin/$(current_branch)'
|
||||||
compdef ggpull=git
|
compdef ggpull=git
|
||||||
alias ggpur='git pull --rebase origin $(current_branch)'
|
alias ggpur='git pull --rebase origin $(current_branch)'
|
||||||
compdef ggpur=git
|
compdef ggpur=git
|
||||||
alias ggpush='git push origin $(current_branch)'
|
alias ggpush='git push origin $(current_branch)'
|
||||||
compdef ggpush=git
|
compdef ggpush=git
|
||||||
alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
|
alias ggpnp='git pull origin refs/heads/$(current_branch):refs/remotes/origin/$(current_branch) && git push origin $(current_branch)'
|
||||||
compdef ggpnp=git
|
compdef ggpnp=git
|
||||||
|
|
||||||
# Pretty log messages
|
# Pretty log messages
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue