The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue Checking Out Branch on Mac

Chris Tietgen
March 12, 2020

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events