2016-03-15 59 views
0

我使用的是gitlab 8.1.2和gitlab-shell 2.6.5。 出於某種原因,我現在無法升級我的gitlab。 我有一個可以使用的學生是github上的rsa鍵,但不是在我的gitlab上。 我試圖生成密鑰,創建一個新帳戶,我一直有這個錯誤:Gitlab推送不能從一臺特定的計算機上工作

[email protected]:/home/me/workspace/school/api# sudo -ume git push 
Counting objects: 3, done. 
Delta compression using up to 4 threads. 
Compressing objects: 100% (3/3), done. 
Writing objects: 100% (3/3), 335 bytes | 0 bytes/s, done. 
Total 3 (delta 2), reused 0 (delta 0) 
remote: GitLab: You are not allowed to push code to protected branches on this project. 
To [email protected]:school/api.git 
! [remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to '[email protected]:school/api.git' 

我已經連接到主機gitlab,並檢查SSHKEY的存在。

我使用Git客戶2.1.4而這名學生使用2.7.2

我已經檢查項的權限,一切都OK。 他能夠拉動該項目。 該項目是gitlab上的一個組的一部分。 學生是開發者權利組的一部分。 我們也嘗試過一個用戶的項目部分,錯誤仍然存​​在。

有沒有人有快速修復,所以他可以推?

回答

0

通過將git客戶端降級到2.1.4解決

相關問題