2012-08-24 55 views
0

我有for Windows的「http://msysgit.github.com/」 我運行Windows 7如何在windows7上運行'git gui'?

我使用他們的工具「回購」籤Android源代碼安裝的Git。我使用'Git Gui'打開存儲庫。我得到這個錯誤:

你能告訴爲什麼它抱怨'.git/config'嗎?

fatal: bad config file line 1 in .git/config 
fatal: bad config file line 1 in .git/config 
    while executing 
"exec C:/Programs/Git/libexec/git-core/git-config.exe --global --add gui.recentrepo C:/Programs/cygwin/home/mike/Src/android-jb/packages/a..." 
    ("eval" body line 1) 
    invoked from within 
"eval exec $opt $cmdp $args" 
    (procedure "git" line 23) 
    invoked from within 
"git config --global --add gui.recentrepo $path" 
    (procedure "_append_recentrepos" line 16) 
    invoked from within 
"_append_recentrepos [pwd]" 
    (procedure "choose_repository::_do_open2" line 12) 
    invoked from within 
"choose_repository::_do_open2 ::choose_repository::__o1::__d" 
    invoked from within 
".buttons.next invoke " 
    invoked from within 
".buttons.next instate !disabled { .buttons.next invoke } " 
    invoked from within 
".buttons.next instate pressed { .buttons.next state !pressed; .buttons.next instate !disabled { .buttons.next invoke } } " 
    (command bound to event) 
+1

你可以給我們提供'.git/config'文件的內容嗎?或者,至少,前幾行是? –

回答

0

嘗試自己創建一個簡單的git存儲庫並創建一些提交。調用gitk看gitk和git-gui是否可以工作

相關問題