fork-dev / Tracker

Bug and issue tracker for Fork for Mac
513 stars 12 forks source link

Error on any git flow command #541

Closed jmfederico closed 5 years ago

jmfederico commented 5 years ago

I am using version 1.0.74.2

Running any git-flow command from Fork generates the following errors:

/Applications/Fork.app/Contents/Resources/gitflow-avh/gitflow-shFlags: line 158: _flags_fatal: command not found
/Applications/Fork.app/Contents/Resources/gitflow-avh/gitflow-shFlags: line 273: [: too many arguments
/Applications/Fork.app/Contents/Resources/gitflow-avh/gitflow-shFlags: line 273: [: too many arguments
/Applications/Fork.app/Contents/Resources/gitflow-avh/gitflow-shFlags: line 273: [: too many arguments
/Applications/Fork.app/Contents/Resources/gitflow-avh/gitflow-shFlags: line 1022: [: -ne: unary operator expected
flags:WARN /Applications/Fork.app/Contents/Resources/gitflow-avh/gitflow-shFlags: line 739: /Applications/Sourcetree.app/Contents/Resources/bin/getopt: No such file or directory
flags:FATAL unable to parse provided options with getopt.

Having git-flow locally installed or not does not change anything.

I am not sure what other information can be relevant.

Anything else you need to know, I will provide.

jmfederico commented 5 years ago

Invoking git flow from the cli works fine.

DanPristupov commented 5 years ago

Read the message:

line 739: /Applications/Sourcetree.app

ST changed your global/system git-flow settings. Remove the source tree path from: ~/.gitflow_export

jmfederico commented 5 years ago

You are absolutely right.

Thanks and done!

borut-t commented 5 years ago

Thanks, @DanPristupov, this solved my issue too 🎉

aholla commented 3 years ago

Read the message:

line 739: /Applications/Sourcetree.app

ST changed your global/system git-flow settings. Remove the source tree path from: ~/.gitflow_export

How do I do this?

DanPristupov commented 3 years ago

Open .gitflow_export in any text editor and remove the export FLAGS_GETOPT_CMD... line.

You can find a more detailed answer here: https://github.com/fork-dev/Tracker/issues/418#issuecomment-582329014

aholla commented 3 years ago

Thanks!!!

On Thu, 4 Feb 2021 at 14:38, Dan notifications@github.com wrote:

Open .gitflow_export in any text editor and remove the export FLAGS_GETOPT_CMD... line.

You can find a more detailed answer here: #418 (comment) https://github.com/fork-dev/Tracker/issues/418#issuecomment-582329014

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fork-dev/Tracker/issues/541#issuecomment-773358097, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJOWZH47PZ5XCGBYCMIW53S5KWPVANCNFSM4GZCFXDQ .

alexmwalker commented 2 days ago

Excellent advice, fellas. Thanks a heap.