User Tools

Site Tools


devel:git-commit-guidelines

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
Next revision Both sides next revision
devel:git-commit-guidelines [2014/12/15 13:51]
miconda [Cloning GIT Repository]
devel:git-commit-guidelines [2015/01/09 18:34]
miconda [Delete Remote Branch]
Line 1: Line 1:
 ====== GIT Commit Guidelines ====== ====== GIT Commit Guidelines ======
 +
 +===== GIT Repository Location =====
 +
 +Starting with December 15, 2014, the main GITH repository of Kamailio project is hosted on Github at:
 +
 +  * https://github.com/kamailio/kamailio
 +
 +A read-only mirror is maintained at:
 +
 +  * git.kamailio.org (still accessible via git.sip-router.org) - web interface:
 +    * http://git.kamailio.org
  
 ===== Cloning GIT Repository ===== ===== Cloning GIT Repository =====
Line 37: Line 48:
  
 <code> <code>
-git clone --depth 1 git://git.sip-router.org/sip-router kamailio-dev+git clone https://github.com/kamailio/kamailio.git kamailio-dev 
 +</code> 
 + 
 +You can also clone (read-only, not for developers that want to push back commits) from the real-time mirror server: 
 + 
 +<code> 
 +git clone --depth 1 git://git.kamailio.org/kamailio kamailio-dev
 </code> </code>
  
Line 289: Line 306:
 <code> <code>
 git push origin :<branchName> git push origin :<branchName>
 +</code>
 +
 +As of Git v1.7.0, a remote branch can be deleted using:
 +
 +<code>
 +git push origin --delete <branchName>
 </code> </code>
devel/git-commit-guidelines.txt · Last modified: 2018/10/24 22:33 by henningw