我知道的一些人正在嘗試克隆我的github repo並直接對其進行更改。這是一個公共回購。他用我的讀寫訪問鏈接克隆它,他可以從回購中獲得回報。問題是當他試圖推動任何他得到的錯誤錯誤:用戶1/repo.git被拒絕給用戶2的權限
ERROR: Permission to user1/repo.git denied to user2
他在哪裏,他是user2,我是user1。我允許其他人在之前使用不同的回購協議,我從來沒有遇到過這個問題。我錯過了什麼可以讓他訪問或做github改變?我已經看到了這個幫助頁面上github上:
This error occurs when you attach your key as a deploy key on repo1. You can push and pull from that repo without issue, but you won’t have access to any other repo with your key. To solve this, remove the key from repo1’s deploy keys and attach it on your account page instead. This key will now have access to all repos your account has access to.
我們還沒有與部署鍵搞砸,但我不能在網路上找到任何其他解決方案。
檢查您的電子郵件。 Github只是在其ssh密鑰周圍修復了一個漏洞,所以你需要重新批准任何ssh密鑰,然後才能使用它們。 https://github.com/settings/ssh/audit – 2012-03-07 19:44:14
我已經驗證了自己的密鑰,但他今天添加了密鑰並進行了克隆。據說這也是因爲他的證實。 – gsingh2011 2012-03-07 19:58:56