| 83 | == Fork / Pull request == |
| 84 | |
| 85 | [https://github.com/ github] provides tool for collaboration including a way to easy fork existing repositories. Got to the [https://github.com/solj/bcfg2 Bcfg2 github mirror] and fork this repository. For more detail please refer to [http://help.github.com/forking/ Forking a project]. Clone the fork: |
| 86 | |
| 87 | {{{ |
| 88 | $ git clone [email protected]:your_github_username/bcfg2.git |
| 89 | }}} |
| 90 | |
| 91 | At the moment there is no connection to the upstream repository. You need to add another remote named "upstream" which points to the upstream repository. |
| 92 | |
| 93 | {{{ |
| 94 | $ cd bcfg2 |
| 95 | $ git remote add upstream git://github.com/solj/bcfg2.git |
| 96 | $ git fetch upstream |
| 97 | }}} |
| 98 | |
| 99 | Make changes, add new features, write a plugin, or fix typos. Then commit all changes. |
| 100 | |
| 101 | {{{ |
| 102 | $ git add new_file |
| 103 | $ git commit new_file -m "This is a new file" |
| 104 | $ git push origin master |
| 105 | }}} |
| 106 | |
| 107 | If you are done, send a [http://help.github.com/pull-requests/ pull request]. |
| 108 | |
| 109 | Don't forget to pulling in changes in the upstream repository from time to time as described in the [http://help.github.com/forking/ Forking a project] document. |
| 110 | |