[TOC]
## Requesting You Pull Please - 建立一個pull request
向原本的Patchwork 代碼庫 repository 發送 **拉取要求 Pull Request**
### Pull Requests
當你修改或改善 forked 項目時,通常會想把這些修改發給原本的維護者,希望原作者 **拉取 pull** 你的 request,讓大家都可以從更新中受益──這就是 ** Pull Request**。
到原本的“項目”([github.com/jlord/patchwork](https://github.com/jlord/patchwork)) 發送一個 拉取要求 pull request 吧,這樣我們才可以把你加到工作坊的挑戰成功者清單里哦。

### 步驟:建立 Pull Requests
原本的項目頁面(http://github.com/jlord/patchwork )。
通常GitHub 會偵測你有 push 了新 branch 到 fork,然后在原項目的上方放上特別的提示。如果有看到提示的話,提示內容應該是以你名字'add-username' 的分支 branch。這樣的話就可以直接按'Compare & pull request' 來建立收取要求 Pull Request哦。如果沒有看到信息也沒關系:
* 在右邊的側欄按'Pull request',接著按'New pull request'。
* 選擇你修改過的那個 branch。**名字應該是'add-username'的那一個哦**。
接著你會看到一頁有著 pull request 信息的頁面,這就對了,你正在發送 pull request的過程。這一頁會顯示你的 pull request 和原本'gh-pages' branch 相比的 commits 和變動。
若原本的 repository 有一份 **contributing說明**的話,GitHub會顯示這個文件的鏈接。這份文件是 repository 原作者所撰寫,說明這個項目最佳的貢獻方式。
若是全部和你預期的一樣,沒有任何問題的話:
* 按'Create pull request'
* 針對修改的內容,輸入標題與描述,用來建議原作者為什么要收取這個 pull request。
* 按'Send pull request'!
**水啦!Pull Request 成功送出,閉上眼睛,花幾秒感受這一刻。**
如果 Pull Request 沒有問題的話,很快就會被自動 merged了哦。若沒有很快的被自動合并 merged 的話,**Reporobot 會留言告訴你,為什么不能 merge。**如果是這樣子呢,先關閉 GitHub 上面的 Pull Request,在你的 branch 做適當的修改,再次 push 這些修改并重新發送 Pull Request 哦。
- 介紹
- 1. Get Git - 安裝并且設置Git
- 2. Repository - 建立一個本地的repository
- 3. Commit to it - 檢查狀態、新增或修改commits
- 4. GitHubbin - 注冊GitHub帳號
- 5. Remote Control - 將repository做本地和遠程的連接
- 6. Forks and Clones - Fork和clone一個開源的計劃
- 7. Branches aren't just for Birds - 建立一個feature branch
- Git分支開發模型
- 8. It's a Small World - 邀請并和別人合作
- 9. Pull, Never Out of Date - 利用Push和pull來和GitHub.com同步
- 10. Requesting You Pull Please - 建立一個pull request
- 11. Merge Tada - Merge和刪除branches
- 學會 GitHub
- GitHub 使用指南
- git 與 github 模板配置
- GitHub Actions
- 實用技巧
- Git Flow
- Submodule子模塊
- 工作記錄
- 常用命令
- 幫助
- 資源
- 解疑答惑