2013年3月14日 星期四

pull requests



https://help.github.com/articles/using-pull-requests

pull requests

pull有"招致"、"吸引"的意思

pull requests就是讓你告訴參與該專案的其他人你將會改變那些部分然後push回GitHub repo.一旦pull request送出,有興趣的人就可以檢閱有哪些部分有改變過,然後討論是否要進行更進一步的修改。

Pull requests let you tell others about changes you've pushed to a GitHub repository. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary.

一般的協同開發模式( Collaborative Development Models )可以分成兩種:

1. Fork & Pull

--  lets anyone fork an existing repository and push changes to their personal fork without requiring access be granted to the source repository.
--  The changes must then be pulled into the source repository by the project maintainer.
--  This model reduces the amount of friction for new contributors and is popular with open source projects because it allows people to work independently without upfront coordination. 


2. Shared Repository Model

--  more prevalent with small teams and organizations collaborating on private projects
--  Everyone is granted push access to a single shared repository and topic branches are used to isolate changes.



Reference
http://edwardinaction.blogspot.tw/2012/05/github-pull-requests.html
http://www.worldhello.net/gotgithub/04-work-with-others/010-fork-and-pull.html
http://tw.polydice.com/2012/05/08/github-pull-requests/



沒有留言:

張貼留言