1. 程式人生 > >在別人的機器上(已有自己的github帳號)提交程式碼到自己的github

在別人的機器上(已有自己的github帳號)提交程式碼到自己的github

git remote -v檢視remote地址
git remote remove origin 移除遠端的叫做origin的倉庫
git remote add origin https://使用者名稱:密碼@github.com/shaojunping/helloworld.git
git push origin master:master