threads / discuss / 53284

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

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

## tl;dr

One message between Apr 22, 2020 and Apr 22, 2020.

replies: 0people: 1as markdown or json

Pierre Demailly· Apr 22, 2020, 14:18 UTC · lore
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.

← back to recent threads