When I try:
$ git push
I get this in my Terminal:
fatal: The current branch master has no upstream branch
I use Terminal on Mac OS 10.15 (Catalina).
I could not find out the reason. Can you help? Thank you in advance.
Hi John, I wanted to follow up on this (if you still have time to look at it):
The output of git status is:
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
The "push"-command is still just hanging in my terminal… nothing happening.
Thank you for your reply. I tried:
$ git push origin master
The terminal doesn't do anything. No upload.
$ git commit -m "Update"
[master a3a92db] index
1 file changed, 1 insertion(+)
So far, so good. But once I try to push, nothing happens. No password request. No error message either.
Is it because I use 2-step-authentication?
Also, in my terminal I have:
git version 2.23.0
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events