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

1 messages from 2020-04-22 to 2020-04-22. Participants: Pierre Demailly.
Thread: https://gitlist.dev/t/53284

## Pierre Demailly, 2020-04-22 14:18

Subject: [feature request] keep flags when trying to push with no upstream branch
Message-ID: <CAMmcmXZPxNYmVMzLydKpAzYN=qRhNRr048EA9mairZ9t_22j-w@mail.gmail.com>
URL: https://gitlist.dev/e/CAMmcmXZPxNYmVMzLydKpAzYN%3DqRhNRr048EA9mairZ9t_22j-w%40mail.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
>
> 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.

```
