[feature request] keep flags when trying to push with no upstream branch

From: Pierre Demailly <hidden>
Date: 2020-04-22 14:18:28

Hello,

Didn't find how to submit a feature request on github, hope i'm at the
right place.

When using command git push, if the current branch hasn't upstream
branch, an error is submitted with following message:
fatal: The current branch master has no upstream branch. To push the current branch and set the remote as upstream use

git push --set-upstream origin current_branch

It would be well to give the command to use with previous used flags.

Example: git push --no-verify
fatal: The current branch master has no upstream branch. To push the current branch and set the remote as upstream use



git push --set-upstream origin current_branch  --no-verify

I didn't find any place to see features request list, so I don't know
if someone already asked for this feature, I'm sorry if it's the case.

Regards.
Pierre.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help