卸载souretree后导致git flow无法使用

不知道大家又没试过一种场景,当我们卸载完 souretree 后, git flow 会一直报错,报错信息如下:

/Applications/Sourcetree.app/Contents/Resources/bin/getopt: No such file or directory flags:FATAL unable to parse provided options with getopt.

解决方案是执行如下命令:

1
rm ~/.gitflow_export