Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
0db7da0c
Commit
0db7da0c
authored
Sep 12, 2018
by
Yago Nobre
Committed by
Marc Cornellà
Sep 12, 2018
Browse files
git: add push force aliases (#6297)
* gpf to --force-with-lease * gpf! to --force
parent
a3afeca3
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/git/git.plugin.zsh
View file @
0db7da0c
...
...
@@ -202,6 +202,8 @@ alias gma='git merge --abort'
alias
gp
=
'git push'
alias
gpd
=
'git push --dry-run'
alias
gpf
=
'git push --force-with-lease'
alias
gpf!
=
'git push --force'
alias
gpoat
=
'git push origin --all && git push origin --tags'
compdef _git
gpoat
=
git-push
alias
gpu
=
'git push upstream'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment