git push時出現 Username for 'https://github.com'

git push時出現 Username for ‘https://github.com

使用git push origin master是出現如下問題:

Username for 'https://github.com'

解決辦法:

git remote set-url origin git+ssh://[email protected]/username/reponame.git

例:

git remote set-url origin git+ssh://[email protected]/jeewang/market.git
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章