Changes between Version 41 and Version 42 of SourceCodeGit
- Timestamp:
- Feb 16, 2014, 10:10:58 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SourceCodeGit
v41 v42 32 32 == Getting a copy of the BOINC source == 33 33 34 To clone the BOINC Git repository into a local directory called (for example) 'boinc _repo', run:35 36 {{{ 37 git clone git://boinc.berkeley.edu/boinc-v2.git boinc _repo34 To clone the BOINC Git repository into a local directory called (for example) 'boinc', run: 35 36 {{{ 37 git clone git://boinc.berkeley.edu/boinc-v2.git boinc 38 38 }}} 39 39 … … 41 41 42 42 {{{ 43 git clone http://boinc.berkeley.edu/git/boinc-v2.git boinc _repo43 git clone http://boinc.berkeley.edu/git/boinc-v2.git boinc 44 44 }}} 45 45 46 46 On Windows, you'll need a Git client such as !TortoiseGit (see below). 47 Right-click on the parent directory, select 'Git Clone...', and fill in the dialog with one of the above URLs. Don't forget to remove both 'git clone' and 'boinc _repo' from the commands above.47 Right-click on the parent directory, select 'Git Clone...', and fill in the dialog with one of the above URLs. Don't forget to remove both 'git clone' and 'boinc' from the commands above. 48 48 49 49 The 'clone' operation pulls down ~134 MiB of source and gives you a copy that you can modify and compile locally. However, you will not be able to push changes to the BOINC repository. For write access, see further below. 50 50 51 Change to the directory 'boinc _repo'. Here you find the files corresponding to the HEAD of the 'remote master branch', the bleeding edge of development. The fully navigable development history of the project can be found in the 'boinc_repo/.git' subdirectory.51 Change to the directory 'boinc'. Here you find the files corresponding to the HEAD of the 'remote master branch', the bleeding edge of development. The fully navigable development history of the project can be found in the 'boinc/.git' subdirectory. 52 52 53 53 You can replace the files on your 'master branch' by files from older branches or older tags using the appropriate git command - without 54 needing to contact the Git repository server again as all the history can be found under 'boinc _repo/.git'. This is called 'checking out'.54 needing to contact the Git repository server again as all the history can be found under 'boinc/.git'. This is called 'checking out'. 55 55 56 56 Run `git status` to see whether there are any changes relative to the HEAD of the 'remote master branch': 57 57 58 58 {{{ 59 $ cd boinc _repo59 $ cd boinc 60 60 61 61 $ git status … … 104 104 }}} 105 105 106 inside 'boinc _repo' for a quick text-only history dump:106 inside 'boinc' for a quick text-only history dump: 107 107 108 108 {{{