git flow cannot find command git

my os is windows 7 and when  click the git-flow menu i encounter the following errors: 

sh.exe C:\Users\hopcraft\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow init -d
C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 56: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/gitflow-common: line 161: git: command not found
Using default branch names.


C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/gitflow-common: line 161: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/gitflow-common: line 73: git: command not found

No branches exist yet. Base branches must be created now.

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 93: git: command not found

Branch name for production releases: [master]

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 131: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/gitflow-common: line 166: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/gitflow-common: line 73: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 146: git: command not found

Branch name for "next release" development: [develop]

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 188: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 197: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 198: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/gitflow-common: line 73: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/gitflow-common: line 74: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 218: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/gitflow-common: line 161: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 228: git: command not found

 

How to name your supporting branch prefixes?

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 246: git: command not found

Feature branches? [feature/]

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 254: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 259: git: command not found

Release branches? [release/]

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 267: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 273: git: command not found

Hotfix branches? [hotfix/]

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 281: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 287: git: command not found

Support branches? [support/]

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 295: git: command not found

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 301: git: command not found

Version tag prefix? []

C:/Users/hopcraft/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow/git-flow-init: line 309: git: command not found

1 answer

This widget could not be displayed.

 the same problem, waiting for an answer

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

878 views 2 3
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