简体   繁体   English

为什么Windows的Git Bash上没有出现提示?

[英]Why doesn't the prompt on my Git Bash for Windows appear?

All of a sudden, the prompt doesn't appear when opening Git Bash for Windows: 突然,打开Windows版Git Bash时没有出现提示:

不速之客

It was working fine before. 以前工作正常。
When I close the window, it gives me this: 当我关闭窗口时,它会显示以下信息:

关闭错误

I am using Windows 10 (64 bit). 我正在使用Windows 10(64位)。
I just uninstalled the old Git and re-installed the latest version 2.13.3 but the problem remains the same. 我只是卸载了旧版Git,然后重新安装了最新版本2.13.3,但问题仍然存在。 Also, I checked and the same bash used for the terminal inside my editors like Visual Studio Code or Atom works fine. 另外,我检查了一下,并且在我的编辑器(例如Visual Studio Code或Atom)中用于终端的相同bash正常工作。

Does anybody have similar experience like this? 有人有类似的经历吗? What can cause this? 是什么原因造成的?

The last thing I remember before this problem occurred was that I installed the Dropbox desktop app. 在发生此问题之前,我记得的最后一件事是我安装了Dropbox桌面应用程序。

It got resolved today. 今天解决了。

It was a big pause with no prompt for sometime then message appeared that key has been added (I have SSH keys and ssh-agent added for GitHub). 这是一个很大的停顿,一段时间内没有任何提示,然后出现消息已添加密钥(我为GitHub添加了SSH密钥和ssh-agent )。 Then prompt appeared and working normally now. 然后出现提示,现在可以正常工作。

Not sure if it has something to do with ssh-agent being hanged for a moment. 不确定是否与ssh-agent挂了片刻有关。

Thanks anyway! 不管怎么说,还是要谢谢你!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM