0

「http://msysgit.github.com/」から Git for Windows をインストールしました。Windows 7 を実行しています。

ツール「レポ」を使用してAndroidソースコードをチェックアウトします。「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)
4

1 に答える 1

0

簡単な git リポジトリを自分で作成してみて、いくつかのコミットを作成してください。gitk を呼び出して、gitk と git-gui が機能するかどうかを確認します

于 2012-08-25T07:16:38.500 に答える