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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,618
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events