Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

No branch

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?

like image 891
puggsoy Avatar asked Mar 15 '14 09:03

puggsoy


People also ask

How do I get all branches in Sourcetree?

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".


1 Answers

This works for me: Goto Tools->Options->Git and select "Embedded".

Screenshot of Git tabn in source tree

like image 181
Ravi Avatar answered Nov 10 '22 01:11

Ravi