最近从SrouceTree转头git-fork客户端后,发现在git-fork以及命令行中使用git flow init
会爆警告信息:
/Applications/Sourcetree.app/Contents/Resources/bin/getopt: No such file or directory flags:FATAL unable to parse provided options with getopt.
网上各种检索尚未发现直击要害的方案。尝试之下发现只要删掉~/.gitflow_export
这个文件就行了。
对,就是这样:
rm ~/.gitflow_export
完