mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Add ggsup alias
Quick way to `git branch --set-upstream-to=origin/<branch> <branch>` It uses the `$(current_branch)` function
This commit is contained in:
parent
1b6af54676
commit
5f8a54f971
1 changed files with 2 additions and 0 deletions
|
|
@ -146,6 +146,8 @@ alias ggpush='git push origin $(current_branch)'
|
|||
compdef ggpush=git
|
||||
alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
|
||||
compdef ggpnp=git
|
||||
alias ggsup='git branch --set-upstream-to=origin/$(current_branch) $(current_branch)'
|
||||
compdef ggsup=git
|
||||
|
||||
# Pretty log messages
|
||||
function _git_log_prettily(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue