Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 596 Bytes

File metadata and controls

16 lines (14 loc) · 596 Bytes

D交作業流程

  1. 新開一個 branch:git branch week1
  2. 切換到 branch: git checkout week1
  3. 寫作業
  4. 如果有新增的檔案,記得加進去 git: git add .
  5. 提交改動:git commit -am "hw1"
  6. 推到 GitHub:git push origin week1
  7. 到自己的 repo 去,並且發起 PR(Pull Request)
  8. 把 PR 的連結複製起來,並且在學習系統上繳交作業

等作業改完並且 merge 以後: 9. 切換到 master:git checkout master 10. 把最新的改動拉下來:git pull origin master 11. 刪除已經 merge 的 branch:git branch -d week1

tehhjjjj