Changes between Version 60 and Version 61 of InstallationGuidelines/VirtualMachine
- Timestamp:
- 09/18/13 11:22:12 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/VirtualMachine
v60 v61 63 63 {{{ 64 64 cd /home/web2py/applications/eden 65 git pull 65 git pull upstream master 66 66 }}} 67 67 … … 69 69 {{{ 70 70 cd /home/web2py/applications/eden 71 git remote add BRANCHNAME https://github.com/flavour/BRANCHNAME.git72 git fetch BRANCHNAME71 git remote add <branch_name> https://github.com/flavour/<branch_name>.git 72 git fetch <branch_name> 73 73 }}} 74 Now you have both, the trunk ("master" branch) and the specific branch ("BRANCHNAME" branch) in your local repo. 75 You can switch between them: 76 {{{ 77 git checkout master 78 or 79 git checkout BRANCHNAME 80 }}} 74 Now you have both the trunk ("master" branch) and the specific branch <branch_name> in your local repo. 81 75 82 If, for some reason, you need a specific revision of "master"/trunk, do the following: 76 77 If, for some reason, you need a specific revision of the current branch, do the following: 83 78 {{{ 84 79 cd /home/web2py/applications/eden 85 git checkout -b VERSION NEW_BRANCH_NAME80 git checkout -b <revision> <branch_name> 86 81 }}} 87 82 (git requires a name for a branch if you want to preserve commits.)