Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git:sip-router-repository [2009/12/09 15:35]
andrei add sr_3.0 and kamailio_3.0 to the possible cvs head names
git:sip-router-repository [2012/12/11 16:53] (current)
oej old revision restored
Line 25: Line 25:
 git clone ssh://username@git.sip-router.org/sip-router git clone ssh://username@git.sip-router.org/sip-router
 </code> </code>
- 
 where username is your username on host git.sip-router.org. Please see where username is your username on host git.sip-router.org. Please see
-also [[git:quick-start-guide|GIT Quick Start Guide]].+also [[git:quick-start-guide|GIT Quick Start Guide]] if you plan to commit 
 +changes. 
 + 
 +After "cloning" the repository the default branch that is checked out is **master**. 
 +Right now there are 3 important branches in the repository: 
 +  - **master** - latest code, all the new development goes here. 
 +  - **sr_3.0** - branch for the future sip-router 3.0 release, in process of being stabilized. 
 +  - **kamailio_3.0** - branch for the kamailio 3.0 release (kamailio 3.0 is the first kamailio release that will be based on sip-router, in this case the sr_3.0 branch). 
 + 
 +If you are interested in a different branch then **master**, you have to use git checkout to change the branch, e.g.: 
 +<code> 
 +cd sip-router 
 +git checkout --track -b sr_3.0 origin/sr_3.0 
 +</code> 
 +(replace **sr_3.0** with the desired branch). 
 +The above command will create a local **sr_3.0** branch that will track changes in the remote (repository) 
 + version of the same branch (**origin/sr_3.0**). 
 +Note that as an alternative, if you have a new git version you could replace the above command and the clone command with: 
 +<code> 
 +git clone --branch sr_3.0 git://git.sip-router.org/sip-router 
 +cd sip-router 
 +</code> 
 + 
 +You need to do all of the above only once. After you already have a "clone" you can update your local copy with the latest changes in the repository using git pull. E.g.: 
 +<code> 
 +git fetch origin 
 +git pull --rebase origin sr_3.0 
 +</code> 
 +(replace **sr_3.0** with the branch you are on). 
  
 You can also browse the repository through the gitweb WWW interface at You can also browse the repository through the gitweb WWW interface at
-http://git.sip-router.org+http://git.sip-router.org and you can download daily snapshots from http://sip-router.org/tarballs/sr. 
 +If you prefer you could use cvs instead of git (see below), but it will be significantly slower.
  
 ====== Repository Layout ====== ====== Repository Layout ======

Navigation

Wiki

Other

QR Code
QR Code git:sip-router-repository (generated for current page)