![](/img/trans.png)
[英]Failing at “Adding an existing project to GitHub using the command line”
[英]Adding an existing project through Github using the command line (terminal)
我在使用終端通過Github添加現有項目時遇到問題。 我使用了以下命令:
在終端中,添加將在其中推送本地存儲庫的遠程存儲庫的URL。
# Sets the new remote
git remote add origin remote repository URL
# Verifies the new remote URL
git remote -v
將本地存儲庫中的更改推送到GitHub。
# Pushes the changes in your local repository up to the remote repository
# you specified as the origin
git push origin master
結果如下:
remote: Permission to Bloc/bloc-jams-student-skeleton.git denied to ynoorstani.
fatal: unable to access 'https://github.com/Bloc/bloc-jams-student-skeleton.git/': The requested URL returned error: 403
任何有用的提示或見解都將非常棒!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.