[英]git: 'Repository not found error' for private repository on Github
嘗試在原點推送分支時遇到以下問題。 所以,我所做的是,創建了一個新分支並在其上添加了一個提交。 然后試着推。 表明,
致命:當前分支 Hotfix/Update_ducusign_semail_subject_line 沒有上游分支。 要推送當前分支並將遠程設置為上游,請使用
git push --set-upstream origin Hotfix/Update_ducusign_semail_subject_line
然后,我運行以下命令
git push --set-upstream origin Hotfix/Update_ducusign_semail_subject_line
但它給出了以下錯誤,
遠程:未找到存儲庫。
致命:未找到存儲庫' https://github.com/nalam-nmef/NextGenTPR.git/ '
這里有什么問題?
如果您不提供正確的憑據,Github 不支持通過 HTTPS 連接到私有存儲庫。
你現在有兩個選擇:
git@github.com:nalam-nmef/NextGenTPR.git
https://nalam-nmef:[your-private-access-token-here]@github.com/nalam-nmef/NextGenTPR.git/
您可以輕松地使用 github cli 進行身份驗證:
我嘗試了一切,但沒有成功,所以我安裝了 GitHub Desktop, https://desktop.github.com/
我將使用 Git Bash 添加和提交文件,然后使用 GitHub 桌面推送。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.