【发布时间】:2013-10-05 21:01:19
【问题描述】:
我在本地机器[Windows OS] 中创建了一个裸仓库并安装了 gitolite。
当我尝试将更改推送到裸仓库时,我收到以下错误:
$ git push origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 293 bytes, done.
Total 3 (delta 0), reused 3 (delta 0)
error: insufficient permission for adding an object to repository database ./objects
fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
To //172.16.90.196/repositories/Test.git
! [remote rejected] master -> master (n/a (unpacker error))
error: failed to push some refs to '//172.16.90.196/repositories/Test.git'
我用谷歌搜索了同样的错误,但到处都是权限,而且它是特定于 linux 的。谁能帮我在 Windows 操作系统上解决这个问题。
因为我是我电脑的管理员,希望权限不会是问题。
请帮助我。
【问题讨论】:
-
@Makoto : 谢谢你的回复.. 但上面的链接是指 linux 操作系统,它解释了 .git 文件夹中对象的权限。我认为这不是我的问题。
标签: windows git gitolite git-bare