Changes between Version 55 and Version 56 of SourceCodeGit


Ignore:
Timestamp:
Jul 27, 2015, 2:50:12 PM (9 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SourceCodeGit

    v55 v56  
    33= BOINC source code =
    44
    5 The BOINC source code is maintained in [http://www.git-scm.com Git] repositories:
    6 
    7 * You can view and browse the available repositories at [https://github.com/BOINC github.com/BOINC].
    8 * You can download the BOINC source code as a compressed archive from [https://github.com/BOINC/boinc/releases here].
    9 
     5The BOINC source code is maintained in a [https://github.com/BOINC github.com/BOINC Git repository on Github]:
    106Github allow you to browse the source trees, get individual files, and view the revision history.
    117
    12 = Getting the code directly using Git =
    13 
    14 It is easier to get the source as a tarball or zipfile as indicated above.
    15 However, you may want to use [http://www.git-scm.com Git] directly instead.
     8= Getting the code using Git =
    169
    1710== Installing Git ==
     
    3326Recommended reading/watching:
    3427
    35  * [http://vimeo.com/14629850 Getting Git]: 1 hour video (technical, but highly recommended)
    3628 * [http://git-scm.com/book Pro Git]: Great free online book (also commercially available in print!)
    3729 * [http://git-scm.com/doc All the rest]: Cheat sheets, tutorials and more videos
    3830
    39 == Cloning the remote Git repository ==
    40 
    41 To clone the repository into a local directory called (for example) 'boinc', run one of these console commands:
     31== Cloning the Git repository ==
     32
     33To clone the repository into a local directory called (for example) 'boinc', run the commands:
    4234
    4335{{{
     
    6961}}}
    7062
     63== Changing your repository origin ==
     64
     65Prior to 27 July 2015, the main BOINC repository was on boinc.berkeley.edu rather than Github.
     66If you cloned a repository from here, you'll need to change its origin to Github.
     67On Unix you can do this with the command
     68{{{
     69git remote set-url origin https://github.com/BOINC/boinc
     70}}}
     71On Windows with Tortoisegit:
     72 * right-click on your repo folder
     73 * select Settings
     74 * in the left column, select Remote (under Git)
     75 * select "origin" in the Remote: list
     76 * change the URL to https://github.com/BOINC/boinc.git
     77 * click Apply
     78 
    7179== Working with the local Git repository ==
    7280
     
    136144=== Tags & Branches ===
    137145
    138 For all software other than the client (i.e., server, web, and API)
    139 use the master branch.
     146For all software other than the client (i.e., server, web, and API) use the master branch.
    140147Don't use a client tag or branch; the server software in it probably isn't stable.
    141148
     
    158165   (let's say because of the need for a immediate bugfix)
    159166   may be done in a remote branch called 'client_release/6/6.12'.
     167
     168Some tagged versions are available as compressed archives from [https://github.com/BOINC/boinc/releases here].
    160169
    161170Run `git remote show origin` to list the remote branches.