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


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

Can you raise a ticket at and we can investigate?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted Jan 17, 2019 in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

1,401 views 13 14
Join discussion

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