Git push on new branch
See original GitHub issueWhen running git push
on a new branch
fatal: The current branch update-project-availability has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin [branch_name]
It would be nice if I can just say fuck
and it will run that command.
Currently it gives no fucks given
Issue Analytics
- State:
- Created 8 years ago
- Comments:20 (3 by maintainers)
Top Results From Across the Web
How do I push a new local branch to a remote Git repository ...
Create a local branch from another branch (via git branch or git checkout -b ). · Push the local branch to the remote...
Read more >Git Push Local Branch to Remote – How to Publish a New ...
If you have another branch you've worked at that you want to push to remote, you'll still use the git push command, but...
Read more >How to push new Git branches to remote repos on GitHub or ...
Push a new Git branch to a remote repo · Clone the remote Git repo locally · Create a new branch with the...
Read more >Git Guides - git push - GitHub
git push updates the remote branch with local commits. It is one of the four commands in Git that prompts interaction with the...
Read more >How To Push Git Branch To Remote - devconnected
In order to push your branch to another remote branch, use the “git push” command and specify the remote name, the name of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Everything’s fixed for me, but I’m actually not the one that opened the issue… 😅
That did the trick. Thanks! After the next release, I’ll pare that command down to just git.