"庆典:__gitdir:找不到命令"错误在终端

问题描述:

每当我在命令窗口中我工作,我得到的错误:庆典:__gitdir:命令未找到合适的工作线之上(换句话说,任何命令之后,它会提示一个新的前)

Whenever I'm working in the command window, I get the error: "bash: __gitdir: command not found" right above the working line (in other words, right after any command, before it prompts for a new one).

任何想法是怎么回事提这件事?

Any ideas as to what is going on to bring this up?

您可能有一些话,在你的的.bashrc file命令。

You probably have something calling that command in your .bashrc file.

尝试在其搜索__gitdir:

Try searching for __gitdir in it:

$ grep __gitdir ~/.bashrc

或许张贴的内容,它可能会更容易帮助。

Or maybe post its content, and it will probably be easier to help.