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

2 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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,935 views 0 12
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