大家好,可以帮我看一下git gui运行的时候出现的错误吗?

70 views
Skip to first unread message

Dave Jin

unread,
Jul 31, 2013, 10:28:45 AM7/31/13
to got...@googlegroups.com
大家好,我刚接触git没多久,在用git gui的时候点击打开已经版本库,然后想点击打开的时候,出现了下面的error,是再不知道怎么解决,网上也搜索了好久,还想高手们帮忙看一下

error: could not lock config file H:\workspace\Cadence/.gitconfig: No such file or directory
error: could not lock config file H:\workspace\Cadence/.gitconfig: No such file or directory
    while executing
"exec D:/Git/libexec/git-core/git-config.exe --global --add gui.recentrepo C:/Users/xf/CppApp"
    ("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)

万分感谢

Jiang Xin

unread,
Jul 31, 2013, 7:25:56 PM7/31/13
to got...@googlegroups.com, got...@googlegroups.com
在 2013-7-31,下午10:28,Dave Jin <2007...@gmail.com> 写道:

大家好,我刚接触git没多久,在用git gui的时候点击打开已经版本库,然后想点击打开的时候,出现了下面的error,是再不知道怎么解决,网上也搜索了好久,还想高手们帮忙看一下

error: could not lock config file H:\workspace\Cadence/.gitconfig: No such file or directory
error: could not lock config file H:\workspace\Cadence/.gitconfig: No such file or directory
    while executing
"exec D:/Git/libexec/git-core/git-config.exe --global --add gui.recentrepo C:/Users/xf/CppApp"
    ("eval" body line 1)

用的是 msysGit, 将当前版本库 C:/Users/xf/CppApp 设置为最近使用的版本库。
要向全局 Git 配置文件写入此信息,在文件写入/锁定时遇到错误。

在外旅游只有iPad,没法测试。为什么全局配置文件设置在了H盘?
修改了HOME或其他环境变量?H盘该目录不可写?

    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)

万分感谢

--
--
您收到这封邮件是因为您订阅了 Google Groups "GotGit" 邮件组。
向邮件组发言很简单,发送邮件到: got...@googlegroups.com 即可。
如果不想继续收到相关邮件,发送退订邮件到 gotgit+un...@googlegroups.com
您也可以通过 Web 界面访问和配置本邮件列表:
http://groups.google.com/group/gotgit?hl=en?hl=en
 
---
您收到此邮件是因为您订阅了 Google 网上论坛的“GotGit”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 gotgit+un...@googlegroups.com
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
 
 
Reply all
Reply to author
Forward
0 new messages