Make gpf alias safer
This commit is contained in:
parent
364d6b831d
commit
66ec201145
|
@ -118,7 +118,8 @@ Aliases
|
||||||
### Push
|
### Push
|
||||||
|
|
||||||
* `gp` updates remote refs along with associated objects.
|
* `gp` updates remote refs along with associated objects.
|
||||||
* `gpf` forces a push.
|
* `gpf` forces a push safely (see --force-with-lease).
|
||||||
|
* `gpF` forces a push.
|
||||||
* `gpa` pushes all branches.
|
* `gpa` pushes all branches.
|
||||||
* `gpA` pushes all branches and tags.
|
* `gpA` pushes all branches and tags.
|
||||||
* `gpt` pushes all tags.
|
* `gpt` pushes all tags.
|
||||||
|
|
|
@ -111,7 +111,8 @@ alias gmt='git mergetool'
|
||||||
|
|
||||||
# Push (p)
|
# Push (p)
|
||||||
alias gp='git push'
|
alias gp='git push'
|
||||||
alias gpf='git push --force'
|
alias gpf='git push --force-with-lease'
|
||||||
|
alias gpF='git push --force'
|
||||||
alias gpa='git push --all'
|
alias gpa='git push --all'
|
||||||
alias gpA='git push --all && git push --tags'
|
alias gpA='git push --all && git push --tags'
|
||||||
alias gpt='git push --tags'
|
alias gpt='git push --tags'
|
||||||
|
|
Loading…
Reference in a new issue