Changes between Version 8 and Version 9 of GitRepo


Ignore:
Timestamp:
Nov 17, 2011 6:42:21 PM (3 years ago)
Author:
Cas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GitRepo

    v8 v9  
    11= Git Source Repository = 
    22 
    3 Deluge's source code is always available through our [http://git.deluge-torrent.org/ git repository]. 
     3Deluge's source code is always available through our [http://git.deluge-torrent.org/ Git repository]. 
    44 
    5 To get a copy of the code, you will need to clone it from the repository. 
     5To get a copy of the code, you will need to clone it from the repository then see the [wiki:'Installing/Source' Installation Guide]. 
    66 
    7 Once you clone the code, you may want to see ['Installing/Source']. 
     7For more in depth-git usage see GitTips and GitCommit. 
    88 
    99== Initial Clone == 
    1010 
    11 The first step is to clone our git repo: 
     11The first step is to clone our git repos: 
    1212 
    1313{{{ 
     
    1515}}} 
    1616 
    17 This will create a deluge/ directory with a copy of the repo. 
     17This will create a ''deluge'' directory with a copy of the repo so if you change into this directory you can start using git commands.  
    1818 
    1919== Selecting Branch == 
    2020 
    21 There are multiple branches or tags that you can choose from, but the main two will be the current stable branch and the development branch.  You can always browse the entire repository [http://git.deluge-torrent.org/ here]. 
     21There are multiple branches or tags that you can choose from, but the main two are the current stable branch and the development branch.   
    2222 
    23 List the branches: 
     23List the branches, including remote branches: 
    2424 
    2525{{{ 
    26 cd deluge 
    2726git branch -a 
    2827}}} 
    2928 
    30 If you want a different branch then the currently selected (master) then you will need to create a local branch and switch to it. 
     29If you want to use a different branch than the default selected (''master'') then you will need to create a local copy of the remote branch. In this example we create branch '1.3-stable' as a local copy of the remote branch 'origin/1.3-stable' and switch to it: 
    3130 
    32 '''Stable:''' 
    3331{{{ 
    3432git checkout -b 1.3-stable origin/1.3-stable 
    3533}}} 
    3634 
    37 '''Development:''' 
     35To switch between your local branches use the following commands: 
     36 
     37 '''Development:''' 
    3838{{{ 
    3939git checkout master 
    4040}}} 
     41 
     42 '''Stable:''' 
     43{{{ 
     44git checkout 1.3-stable 
     45}}} 
     46 
     47Either of these commands will show the current branch you are using: 
     48 
     49{{{ 
     50git branch 
     51git status 
     52}}}  
     53 
    4154 
    4255== Updating ==