No branches in SourceTree?
I have a project on my PC, I want to host it on BitBucket as a Git repo. I’ve been using SourceTree to manage an existing project with other contributors, so I know the basics about modifying a repository, but I haven’t made my own one before.
What I’ve done so far was make a brand new repo on BitBucket, then I went in SourceTree and made a new one in there. I added a remote called
origin using the URL BitBucket gave me, but when I try to push I see this:
Usually I’m supposed to choose which branches to push, but here I don’t see any. Apparently I’m on
master though, which it shows in the left pane.
Basically, I’m confused. Can anyone explain what’s going on or what I’m supposed to be doing?
One Solution collect form web for “No branches in SourceTree?”
You have to create at least one commit into your local branch before trying to push.