mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01: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) |
|
| ggsup | git branch --set-upstream-to=origin/$(git_current_branch) |
|
||||||
| ggu | git pull --rebase origin $(current_branch) |
|
| ggu | git pull --rebase origin $(current_branch) |
|
||||||
| gpsup | git push --set-upstream origin $(git_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 |
|
| ghh | git help |
|
||||||
| gignore | git update-index --assume-unchanged |
|
| gignore | git update-index --assume-unchanged |
|
||||||
| gignored | git ls-files -v \| grep "^[[:lower:]]" |
|
| 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 ggsup='git branch --set-upstream-to=origin/$(git_current_branch)'
|
||||||
alias gpsup='git push --set-upstream 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'
|
alias ghh='git help'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue