| 93 | === Creating a 2nd branch === |
| 94 | If you wish to have multiple separate branches to work on, you can run these as separate web2py applications |
| 95 | * Create a fresh Clone: |
| 96 | {{{ |
| 97 | cd web2py/applications |
| 98 | git clone git@github.com:flavour/eden.git <mybranch> |
| 99 | }}} |
| 100 | * Setup a new Repository on GitHub: https://github.com/repositories/new |
| 101 | * Edit {{{.git/config}}}: |
| 102 | {{{ |
| 103 | [remote "origin"] |
| 104 | fetch = +refs/heads/*:refs/remotes/origin/* |
| 105 | url = git@github.com:<mygitusername>/<mybranch>.git |
| 106 | }}} |
| 107 | * Push to GitHub: |
| 108 | {{{ |
| 109 | cd <mybranch> |
| 110 | git push -u origin master |
| 111 | git remote add upstream git://github.com/flavour/eden.git |
| 112 | }}} |