Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Help fixing git-flow errors?

I can enabled gitflow for a repo successfully, but whenever I try to start a feature it errors out:

 

git feature start MYFEAT

[...]/.gitflow_export: line 1: export: `2.app/Contents/Resources/bin/getopt': not a valid identifier

/Applications/Sourcetree 2.app/Contents/Resources/git_local/gitflow/gitflow-shFlags: line 158: _flags_fatal: command not found

/Applications/Sourcetree 2.app/Contents/Resources/git_local/gitflow/gitflow-shFlags: line 273: [: too many arguments

/Applications/Sourcetree 2.app/Contents/Resources/git_local/gitflow/gitflow-shFlags: line 273: [: too many arguments/Applications/Sourcetree 2.app/Contents/Resources/git_local/gitflow/gitflow-shFlags: line 273: [: too many arguments

/Applications/Sourcetree 2.app/Contents/Resources/git_local/gitflow/gitflow-shFlags: line 1024: [: -ne: unary operator expected

flags:WARN /Applications/Sourcetree 2.app/Contents/Resources/git_local/gitflow/gitflow-shFlags: line 740: /Applications/Sourcetree: No such file or directory

flags:FATAL unable to parse provided options with getopt.

Completed with errors, see above

 

Settings are using the embedded versions of everything.

version 3.2.1 (macOS)

1 answer

3 votes
bgannin Atlassian Team Aug 07, 2019

Hi @patlassianbb,

Certain parts of the system aren't happy when you introduce spaces. In this case the name "Sourcetree 2.app" is being interpreted as "2.app" by gitflow_export. Please rename the app and let us know if there are still problems.

Brian Ganninger
Principal Developer, Sourcetree

Thanks for your help.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published 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...

7,251 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you