remove -u origin head
from push commands
these push to master if used from a worktree!
This commit is contained in:
parent
1f3712f4c9
commit
7476f12115
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@ wk.register({
|
||||||
g = {
|
g = {
|
||||||
name = 'git',
|
name = 'git',
|
||||||
s = { '<cmd>Git<cr>', 'Status' },
|
s = { '<cmd>Git<cr>', 'Status' },
|
||||||
p = { '<cmd>Git push -u origin head<cr>', 'Push' },
|
p = { '<cmd>Git push<cr>', 'Push' },
|
||||||
P = { '<cmd>Git push -u origin head --force-with-lease<cr>', 'Push (force with lease)' },
|
P = { '<cmd>Git push --force-with-lease<cr>', 'Push (force with lease)' },
|
||||||
f = { '<cmd>Git fetch<cr>', 'Fetch' },
|
f = { '<cmd>Git fetch<cr>', 'Fetch' },
|
||||||
r = {
|
r = {
|
||||||
name = 'rebase',
|
name = 'rebase',
|
||||||
|
|
Loading…
Reference in a new issue