如何提出你的需求(PR)給密碼龐克台灣 === ###### tags: `密碼龐克` `pr` `git` > [密碼龐克台灣 Github](https://github.com/cypherpunks-core/cypherpunks-core.github.io) <img src="https://i.imgur.com/AKR7VWK.png" style="width:800px"> <!-- ![](https://i.imgur.com/AKR7VWK.png) --> Step1 --- > 點擊畫面右上角之 Fork <img src="https://i.imgur.com/Y8CogYY.png" style="width:800px;height:50px"> <!-- ![](https://i.imgur.com/Y8CogYY.png) --> > 即可在自己的資源庫中看到 cypherpunks-core 的專案 以我為例 就會看到 panda850819 forked from cypherpunks-core ... <!-- ![](https://i.imgur.com/knMej3t.png) --> <img src="https://i.imgur.com/knMej3t.png" style="width:800px"> Step2 --- > 在自己的專案中按下 Clone 到自己的資料夾 ![](https://i.imgur.com/KmB2NvQ.png) 1. 可以透過 Download ZIP 至你想要的位置解壓縮它 2. 可以透過終端機指令,請先開啟終端機並且輸入底下指令 ``` $ cd desktop && mkdir cypherpunks-core // 先將位置移動至桌面並且創立 cypherpunks-core 資料夾 $ git clone https://github.com/{你的github名稱}/cypherpunks-core.github.io.git // 將專案下載至 cypherpunks-core 資料夾 ``` Step3 --- > 同步遠端專案 ``` $ git remote -v // origin https://github.com/panda850819/cypherpunks-core.github.io.git (fetch) // origin https://github.com/panda850819/cypherpunks-core.github.io.git (push) $ git remote add upstream https://github.com/cypherpunks-core/cypherpunks-core.github.io.git $ git remote -v // origin https://github.com/panda850819/cypherpunks-core.github.io.git (fetch) // origin https://github.com/panda850819/cypherpunks-core.github.io.git (push) // upstream https://github.com/cypherpunks-core/cypherpunks-core.github.io.git (fetch) // upstream https://github.com/cypherpunks-core/cypherpunks-core.github.io.git (push) ``` > 同步 fork 完成操作後,本地專案就會同步 Cypherpunk-core 專案中的變化! ``` $ git fetch upstream $ git checkout master $ git merge upstream/master ``` Step4 --- > 提交 PR ### 再提交之前,什麼是 PR? PR 即為 Pull Request,在 Github 上必須先複製(Fork)一份原作的專案到你自己的 GitHub 帳號底下。 那自己的 Fork 專案想怎麼玩就怎麼玩,之後你就可以推上自己的 Fork 文件上,發個通知給 Cypherpunks-core,讓團隊人員來審視這次的 PR 是否 ok,若是 ok 則會將您發起的 PR 合併進團隊文章裡。 ![](https://i.imgur.com/eXKZVI5.png) 然後可以在上面輸入摘要跟主題,接下來就等著團隊給予回覆囉! 參考文獻 --- - [為你自己學Git](https://gitbook.tw/chapters/github/pull-request.html) - [git如何同步fork專案](https://www.itread01.com/content/1544771540.html?fbclid=IwAR2s4ATwibiiKRS3DYBnNsaNVuQeedOovTKZyGY9iaVqUukTDZppXzGu35w)