天天看點

Ubuntu GitHub操作——使用倉庫

若你想更新github代碼

在正式更新github倉庫時,可以先 git status 檢視一下分支master的狀态

1.因為是更新代碼,是以不用前面那麼多步驟,直接添加所更新的檔案到 分支master中

git add xxxxx           
git commit -m "更新說明"           
git pull
           
git push origin master