don't default to a force push
This commit is contained in:
parent
1e62d56219
commit
87eb2cf7dd
2 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,8 @@ abbr -a gcb git checkout -b
|
||||||
abbr -a gco git checkout
|
abbr -a gco git checkout
|
||||||
abbr -a gd git diff
|
abbr -a gd git diff
|
||||||
abbr -a gf git fetch
|
abbr -a gf git fetch
|
||||||
abbr -a gp git push --force-with-lease
|
abbr -a gp git push
|
||||||
|
abbr -a gP git push --force-with-lease
|
||||||
abbr -a gpl git pull
|
abbr -a gpl git pull
|
||||||
abbr -a gplr git pull --rebase
|
abbr -a gplr git pull --rebase
|
||||||
abbr -a gr git rebase
|
abbr -a gr git rebase
|
||||||
|
|
|
@ -65,6 +65,7 @@ wk.register({
|
||||||
name = 'git',
|
name = 'git',
|
||||||
s = { '<cmd>Git<cr>', 'Status' },
|
s = { '<cmd>Git<cr>', 'Status' },
|
||||||
p = { '<cmd>Git push --force-with-lease -u origin head<cr>', 'Push' },
|
p = { '<cmd>Git push --force-with-lease -u origin head<cr>', 'Push' },
|
||||||
|
P = { '<cmd>Git push -u origin head<cr>', 'Push (force with lease)' },
|
||||||
f = {
|
f = {
|
||||||
name = 'fetch',
|
name = 'fetch',
|
||||||
o = { '<cmd>Git fetch origin<cr>', 'origin' },
|
o = { '<cmd>Git fetch origin<cr>', 'origin' },
|
||||||
|
|
Loading…
Reference in a new issue