The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Help fixing git-flow errors?

patlassianbb
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 29, 2021

Thanks for your help.

TAGS
AUG Leaders

Atlassian Community Events