Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Help fixing git-flow errors?

patlassianbb August 5, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
August 7, 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

jeonami August 29, 2021

Thanks for your help.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events