"庆典:__gitdir:找不到命令"错误在终端 [英] "bash: __gitdir: command not found" error in terminal

查看:903
本文介绍了"庆典:__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.

这篇关于"庆典:__gitdir:找不到命令"错误在终端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆