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?
If you can see it in SourceTree, it's stored on your computer. If you want to check out one of the branches, double click it. You can switch to any of the branches whenever you want without an Internet connection. There is no way to — and no need to — "pull all branches".
This works for me: Goto Tools->Options->Git and select "Embedded".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With