2014-11-05 110 views
0

我克隆使用git clone https://github.com/**.gitSourcetree混帳推遙控:庫未找到

然後我說這個回購協議Sourcetree,犯了一些變化,並試圖推動從CLI回購,但呈現:

remote: Repository not found. fatal: repository 'https://github.com/**.git/' not found

但是,git push在CLI中正常工作。

我使用Github 2FA,但我確定我輸入了令牌而不是我的Github的密碼。

已經檢查了https://help.github.com/articles/error-repository-not-found/,但由於它在CLI上正常工作,我不確定我錯過了什麼。

回答

0

我編輯了令牌的權限以允許私人回購。 現在工作。

+0

你能詳細說明你做了什麼來解決這個問題嗎?我有類似的問題。 – mcneela86 2017-09-07 14:20:44

+0

有段時間沒有使用過sourcetree。 IIRC,您應該提供您的個人訪問令牌並確保它具有https://github.com/settings/tokens中的正確權限。我相信我當時錯過了私人回購許可。 – resting 2017-09-08 02:45:01