question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Git push on new branch

See original GitHub issue

When 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:closed
  • Created 8 years ago
  • Comments:20 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
symbolboxercommented, May 18, 2016

Everything’s fixed for me, but I’m actually not the one that opened the issue… 😅

1reaction
symbolboxercommented, Apr 7, 2016

That did the trick. Thanks! After the next release, I’ll pare that command down to just git.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found