git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
PDPierre Demailly <pierredemailly.pro@gmail.com>
Date
Apr 22, 2020, 14:18 UTC
Message-ID
<CAMmcmXZPxNYmVMzLydKpAzYN=qRhNRr048EA9mairZ9t_22j-w@mail.gmail.com>
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
Show 6 quoted lines
>
> 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.

Message 1 of 1 in “[feature request] keep flags when trying to push with no upstream branch”
  1. Pierre DemaillyApr 22, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.