我只是開源開發程式的新手,我只是學習了一些基本命令。然后我遇到了從本地系統轉移到 github 的概念。為此,我使用了命令
git remote add origin https://github.com/KalashJain591/kalash-project-git
之后推送專案我在git bash中使用了這行代碼
git push origin master
然后發生了以下錯誤,我無法將我的專案從本地主機推送到 github。
fatal: The request was aborted: Could not create SSL/TLS secure channel.
error: unable to read askpass response from 'C:/Program Files/Git/mingw32/bin/git-askpass.exe'
uj5u.com熱心網友回復:
GitHub 不再支持對 git 的密碼訪問。您必須生成個人訪問令牌并使用它。請參閱Git 操作的令牌身份驗證要求。
或者,您可以創建一個 SSH 密鑰并[email protected]:KalashJain591/kalash-project-git用作遠程的 URL。
uj5u.com熱心網友回復:
你在github上安裝了你的公鑰嗎?這是用于將代碼無密碼推送到 github。
Login to github -> Settings -> SSH and GPG keys
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/403589.html
標籤:
