Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

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

Open
beanbest opened this issue Nov 29, 2021 · 1 comment
Open

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

beanbest opened this issue Nov 29, 2021 · 1 comment

Comments

@beanbest
Copy link

今天部署了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
Copy link

Hareis commented Dec 4, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants