cccnqu / sp106b

系統程式 -- Nand2tetris Part II (金門大學 / 資訊工程系 106 下學期 )
18 stars 78 forks source link

git 的用法 #3

Open ccckmit opened 6 years ago

ccckmit commented 6 years ago

最常用的指令

$ git clone https://github.com/cccnqu/sp106b.git
$ git add -A
$ git commit -m "modify at lecture 2"
$ git push origin master

與老師的專案同步

$ git remote add upstream git://github.com/cccnqu/sp106b.git
$ git fetch upstream
$ git pull upstream master

再推回你自己的 github 中

$ git push origin master