mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-18 02:20:09 +00:00
feat(git): add gpsupf
alias (#11268)
This commit is contained in:
parent
b0bffcaf86
commit
39525e5ec3
2 changed files with 3 additions and 1 deletions
|
@ -89,6 +89,7 @@ plugins=(... git)
|
|||
| ggsup | git branch --set-upstream-to=origin/$(git_current_branch) |
|
||||
| ggu | git pull --rebase origin $(current_branch) |
|
||||
| gpsup | git push --set-upstream origin $(git_current_branch) |
|
||||
| gpsupf | git push --set-upstream origin $(git_current_branch) --force-with-lease |
|
||||
| ghh | git help |
|
||||
| gignore | git update-index --assume-unchanged |
|
||||
| gignored | git ls-files -v \| grep "^[[:lower:]]" |
|
||||
|
|
|
@ -199,6 +199,7 @@ alias ggpush='git push origin "$(git_current_branch)"'
|
|||
|
||||
alias ggsup='git branch --set-upstream-to=origin/$(git_current_branch)'
|
||||
alias gpsup='git push --set-upstream origin $(git_current_branch)'
|
||||
alias gpsupf='git push --set-upstream origin $(git_current_branch) --force-with-lease'
|
||||
|
||||
alias ghh='git help'
|
||||
|
||||
|
@ -341,4 +342,4 @@ function grename() {
|
|||
fi
|
||||
}
|
||||
|
||||
unset git_version
|
||||
unset git_version
|
||||
|
|
Loading…
Reference in a new issue