remove -u origin head from push commands

these push to master if used from a worktree!
This commit is contained in:
Sloane Perrault 2023-08-31 13:19:30 -04:00
parent 1f3712f4c9
commit 7476f12115
No known key found for this signature in database

View file

@ -64,8 +64,8 @@ wk.register({
g = {
name = 'git',
s = { '<cmd>Git<cr>', 'Status' },
p = { '<cmd>Git push -u origin head<cr>', 'Push' },
P = { '<cmd>Git push -u origin head --force-with-lease<cr>', 'Push (force with lease)' },
p = { '<cmd>Git push<cr>', 'Push' },
P = { '<cmd>Git push --force-with-lease<cr>', 'Push (force with lease)' },
f = { '<cmd>Git fetch<cr>', 'Fetch' },
r = {
name = 'rebase',