Forward slashes are causing me problems

Sourcetree is having trouble with forward slashes in the git commit messages. I'm getting error messages like the ones below when trying to view these repostories where the head commit has a forward slash.

11/4/12 12:20:27.706 AM SourceTree[45500]: 'git log' failed with code 128:'fatal: ambiguous argument 'CR/MM': unknown revision or path not in the working tree.

Use '--' to separate paths from revisions

'

11/4/12 12:40:27.901 AM SourceTree[45500]: 'git log' failed with code 128:'fatal: ambiguous argument 'test/test': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
'
11/4/12 12:46:07.787 AM SourceTree[45500]: 'git log' failed with code 128:'fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
'
I believe this happened once before and blowing away the preferences files worked as a fix, but I would love to know if there is some other way I can address this problem.
Thanks.

2 answers

That's strange, because I and many others use forward slashes in branch names all the time, it's not only always the case for remote branches, but when you're using git-flow, most branches have prefixes with a slash in them.

Please can you provide more details about what version of SourceTree you're using, your repo state and the gitconfig you're using (locally and globally).

I have bought a new keyboard and have just noticed, that the keyboard has no 'back slash' key.

Mahagun Mywoods Noida, Mahagun Mezzaria Noida

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 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...

979 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you