2016-08-12 41 views

回答

0

不,git remote add只定義到遠程git倉庫的路徑。

如果你想要上傳數據做你的遠程存儲庫,你必須提交併推送服務器。

> git add . 
> git commit -m "my commit" 
> git push 

多見於:

https://help.github.com/articles/adding-a-remote/

+0

確定,推送實際上傳了它,但在你做之前,你做了一個'git remote add',並且說哪裏上傳你的東西? –