git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [feature request] keep flags when trying to push with no upstream branch
@ 2020-04-22 14:18 Pierre Demailly
  0 siblings, 0 replies; only message in thread
From: Pierre Demailly @ 2020-04-22 14:18 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-22 14:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22 14:18 [feature request] keep flags when trying to push with no upstream branch Pierre Demailly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).