Github 很方便的一點就是可以盡量fork自己會用到的library到自己的帳號下,也可以在這些forked repository 之下寫自己的模組。但是github上的 repo是不會自動從原本的repo拉更新。 有兩種做法,第一種是自己打 git command,另一種直接在github頁面上操作。 git command 以 yui3 為例,原始的repo 是在 https://github.com/yui/yui3 。 $ git remote add upstream https://github.com/yui/yui3.git # add the remote named upstream $ git fetch upstream # fetch the