[英]Not able to add remote repository
我想將更改從本地存儲庫推送到我的 github 存儲庫。 我從 github quickstep 給出的命令開始:
git init
git add .
git commit -m "first commit"
接着
$ git add origin https://github.com/Svein-Tore/forrigling.git
fatal: pathspec 'origin' did not match any files
有什么建議可以出錯嗎?
你必須使用git remote add origin https://github.com/Svein-Tore/forrigling.git
當您使用git add origin
時,它會嘗試添加文件 'origin'
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.