0

I am using GIT for versioning for me and my co-worker, and since the beginning I am running into an error that randomly effects either me or my co-worker.

We have two different users that push/pull to our Git-Server. Both are members of the same group gitusers.

From time to time (not all the time), if one of us pushes his changes to the server, the other gets an: ERROR: failed to push some ref to '' Changes were of course pulled before.

If found out that the permission for .git/refs/HEADS/[PROJECT_NAME] changed from rw-rw-r to rw-r-r so readonly for other group members. Owner is the last user who successfully pushed to the server.

I don't understand why. Especially because it does not happen all the time.

Can someone offer any advice?

screenshot

4

1 回答 1

0

好吧。发现了问题。问题是我设置的存储库类型。

gitserver 项目必须是共享的和存储库。您可以轻松转换现有的存储库。

没有更多的裁判错误!

于 2015-07-07T13:55:58.437 回答