關卡內容:
用
從 遠端Remote 收取pull 更新
若是和別人一起合作,就會需要把檔案保持在最新狀態,以免修改到相同的檔案造成版本衝突。因此,你就會需要時常

步驟:Reporobot 都做了什麼呢?
把 GitHub 上 'origin'
git pull <REMOTENAME> <BRANCHNAME>
如果沒有任何修改,Git 會告訴你 'Already up-to-date'。若有修改的話,Git 會把那些修改
Reporobot 有修改嗎?Git 會告訴你那些地方有變化。可以打開修改過的檔案看看,Reporobot 修改了什麼。哇!Reporobot 真是個藝術家呀!
Please select your repository directory.
撇步
- 檢查 Git 狀態
- 從遠端分支
收取pull 更新回來 - 在收取更新前先檢查
遠端remote 是否有變動
git status
git pull
git fetch --dry-run