...
The repository setup that we use and that works well with this branching model, is that with a central “truth” repo. The central "truth" repo for github.com/FreePBX is http://FreePBX.org is http://git.freepbx.orggithub.com/FreePBX .
Note |
---|
The repo at http://git.freepbx.orghttp://github.com/FreePBX is considered to be the central one (since Git is aDVCS, there is no such thing as a central repo at a technical level). We will refer to this repo as origin, since this name is familiar to all Git users. |
...
Such terminology can also be used when dealing with github, we normally refer to github as one of our remotes. Everything from http://git.freepbx.orggithub.com/FreePBX mirrors directly to github but pull requests are managed through http://git.freepbx.orggithub.com/FreePBX by assigning a remote to the github remote that wants to do said pull request and applying it on http://git.freepbx.orggithub.com/FreePBX first, which then replicates back to github. This way we are applying patches and fixes directly to our "truth" repo.
...