Commit 5486aa21 authored by Jonathan Channon's avatar Jonathan Channon Committed by Robby Russell
Browse files

Added --force-with-lease method (#5025)

parent 766b47d8
......@@ -107,6 +107,10 @@ ggf() {
[[ "$#" != 1 ]] && local b="$(git_current_branch)"
git push --force origin "${b:=$1}"
}
ggfl() {
[[ "$#" != 1 ]] && local b="$(git_current_branch)"
git push --force-with-lease origin "${b:=$1}"
}
compdef _git ggf=git-checkout
ggl() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment