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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

682 views 0 4
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