Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Issue Checking Out Branch on Mac

I've recently switched over to using a Mac and needed to to pull a remote branch, so I cloned the repo in Sourcetree, then performed a fetch on the remotes and tried double-clicking the branch I wanted.

When the checkout branch window is displayed the checkout button is disabled.

So, I opened terminal and tried checking out the branch that way, but ran into an error.

It turns out that whoever created this remote branch named it with a ampersand in the middle of the name it Git isn't processing the branch name properly.

For example, the remote branch is feature/Security&Venerability and the terminal checkout tried to read it as feature/Security instead.

I don't have this issue using the Windows version of Sourcetree.

How can I resolve it using the Mac version?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,055 views 5 13
Read article

Community Events

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

Events near you