gogf / gf-cli

GoFrame Command Line Interface, which is your helpmate for building GoFrame application with convenience.
https://goframe.org
MIT License
255 stars 106 forks source link

gf命令与Oh-my-zsh git插件冲突 #133

Open beanbest opened 3 years ago

beanbest commented 3 years ago

今天部署了gf-cli 在执行gf命令是有如下提示:

% gf
fatal: not a git repository (or any of the parent directories): .git

发现和默认的oh-my-zsh的git工具冲突,将git插件相关alias注释后OK

# alias gf='git fetch'

建议在执行 gf install时对本地gf命令进行检测 如果有gf命名 可以给用户进行提示。

Hareis commented 2 years ago

我是使用gf install 后 source ~/.zshrc 就可以了