[SR-Users] Help with install using GIT

John Doe jdoe_sip at hotmail.com
Tue Jun 18 21:29:01 CEST 2013


Hi all, I am trying to install the latest version using git (new to git) and after running "git checkout -b 4.0 origin/4.0" I got these messages:


[root at test kamailio-4.0.2]# git checkout -b 4.0 origin/4.0

fatal: Cannot update paths and switch to branch '4.0' at the same time.
Did you intend to checkout 'origin/4.0' which can not be resolved as commit?
[root at test kamailio-4.0.2]#

These were the commands I entered in order:

[root at test kamailio-4.0.2]# mkdir -p /usr/local/src/kamailio-4.0.2
[root at test kamailio-4.0.2]# cd /usr/local/src/kamailio-4.0.2/
[root at test kamailio-4.0.2]# git clone --depth 1 git://git.sip-router.org/sip-router kamailio
[root at test kamailio-4.0.2]# cd kamailio
[root at test kamailio-4.0.2]# git checkout -b 4.0 origin/4.0  --> this is were it fails


What does it mean, how should I proceed?
I appreciate any advise, thank you 		 	   		  


More information about the sr-users mailing list