【问题标题】:Can't push changes to remote repo using gitbash windows无法使用 gitbash windows 将更改推送到远程仓库
【发布时间】:2016-04-28 19:20:05
【问题描述】:

我尝试寻找解决此类问题的方法,但所有方法都不起作用。
昨天更换新服务器后发生此错误。

在拉取更新时,它可以正常工作,但是当我推送更改时,会出现以下错误。

ERROR:

Counting objects: 8, done. Delta compression using up to 2 threads.
Compressing objects: 100% (8/8), done. Writing objects: 100% (8/8),
989 bytes | 0 bytes/s, done. Total 8 (delta 6), reused 0 (delta 0)
remote: error: insufficient permission for adding an object to
repository database ./objects remote: fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit

【问题讨论】:

    标签: git git-bash


    【解决方案1】:

    所有解决方案 seen about that error message 指向 chmodgit config core.sharedRepository group 将在服务器端的裸 git repo 中完成

    这与您最近更改服务器的事实一致。

    【讨论】:

    • 我会试试这个。稍后再回来。
    猜你喜欢
    • 1970-01-01
    • 2014-12-22
    • 1970-01-01
    • 1970-01-01
    • 2018-09-13
    • 2019-06-29
    • 2014-10-21
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多