Changes between Version 33 and Version 34 of DeveloperGuidelines/Git


Ignore:
Timestamp:
03/15/12 11:32:08 (13 years ago)
Author:
Fran Boon
Comment:

Creating a 2nd branch

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Git

    v33 v34  
    9191}}}
    9292
     93=== Creating a 2nd branch ===
     94If you wish to have multiple separate branches to work on, you can run these as separate web2py applications
     95* Create a fresh Clone:
     96{{{
     97cd web2py/applications
     98git 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{{{
     109cd <mybranch>
     110git push -u origin master
     111git remote add upstream git://github.com/flavour/eden.git
     112}}}
    93113== Developer Configuration ==
    94114{{{