我之前创建了git仓库,然后开始处理服务器上的项目。我确实推拉得很好。但后来由于一些冲突,我删除了我的本地存储库。git.Run()没有输出
但现在每当我试图创建一个本地仓库,我得到以下错误:
git.Run() had no output
。
在搜索了很多东西之后,我没有在网络上找到任何解决方案。
不知道TortoiseGIT和msysgit发生了什么。
我之前创建了git仓库,然后开始处理服务器上的项目。我确实推拉得很好。但后来由于一些冲突,我删除了我的本地存储库。git.Run()没有输出
但现在每当我试图创建一个本地仓库,我得到以下错误:
git.Run() had no output
。
在搜索了很多东西之后,我没有在网络上找到任何解决方案。
不知道TortoiseGIT和msysgit发生了什么。
试试这个:
卸载TortoiseGit
2.删除TortoiseGit
在Windows上使用regedit.exe
的注册表。
重新安装TortoiseGit
希望这有助于。
从TortoiseGit的issue 667提到:
I had the problem too and fixed it:
In the
TortoiseGit Settings --> General
, you have to specify the following folder for "Git.exe Path
": "C:\msysgit\bin
" and not "C:\msysgit\git
" ("C:\msysgit
" your individual msysGit-Root)
After clicking on "Check now
" the ".dll
" should be passed automatically and the versionnumer should be displayed which is not the case if you use the git folder.
我已经通过这个链接,并试过这个,但这并没有帮助我,因为我检查了这些设置,它们都很好。正如我在问题中提到的那样,资源库是之前创建的,但不是现在。 – 2013-03-18 13:44:10
@SaurabhJain您正在使用哪个版本的TortoiseGit? – VonC 2013-03-18 13:44:49
'TortoiseGit-1.8.1.0-32bit' – 2013-03-18 13:45:26
你使用哪个msysgit? http://code.google.com/p/tortoisegit/issues/detail?id=667提到最近的msysgit版本解决了这个问题。 – VonC 2013-03-18 13:38:07
我正在使用'msysGit-fullinstall-1.8.1.2-preview20130201' – 2013-03-18 13:40:53