cant initialise git before and now cant create branch

I was trying to initialize Git flow to my new project but it wasn't allowing me giving error. Then i uninstall and reinstall old source tree so now I cant see initialize Git flow option and its shows me all options New feature.....etc..

when i try to click create new feature its give me following error.

its same error when i was trying to initialize git flow.

 

sh.exe C:\Users\ashishtailor\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow feature start Theme_creation
C:\Users\ashishtailor\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow: line 73: /gitflow-common: No such file or directory
Completed with errors, see above.

 

1 answer

0 votes

Hi 

It sounds like the gitflow installation has become corrupted. I would suggest deleting the existing C:\Users\ashishtailor\AppData\Local\Atlassian\SourceTree\gitflow_local\ folder and re-installing Sourcetree.

"and its shows me all options New feature.....etc.."
From this it sounds like git flow init did run at somepoint.

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

709 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