Issue initiliazing and using git flow - path has single quote in it

When I try to initialize git flow on source tree in windows I get the error:

sh.exe C:\Users\TimO'Connell\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow init -d
/usr/bin/sh: C:\Users\TimOConnell\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow init -d: No such file or directory
Completed with errors, see above.

I believe the error is because my user account directory has a single quote in the path. Unfortunately it's not an option for me to change this.

When I initalize git flow from the terminal it works correctly as long as I don't reference git flow using the full path. Once I've done this I have the same issues using git commands. To initalize git flow I use the command:

git-flow init -d

Any advice on a work around for this problem so I can use the interface instead of the terminal would be greatly appreciated

1 answer

0 votes

Hi

That is an interesting problem. I'm afraid I don't have an immediate solution.

Can you raise a ticket at https://jira.atlassian.com and we can investigate?

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

845 views 3 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