Lars Bjørndal wrote:
The command 'git branch' gives me only * master. So how do I grab the
F-8 branch of Revisor?


Go to the revisor source tree you have now, and go up one directory

Type:

git clone --reference <current-source> \
    git://git.fedorahosted.org/revisor \
    <new-folder>

cd <new-folder>

git checkout --track -b <new-branch> origin/<branch>

Well, I'll give you an example:

[EMAIL PROTECTED] ~]$ mkdir -p devel/revisor
[EMAIL PROTECTED] ~]$ cd devel/revisor

$ git clone git://git.fedorahosted.org/revisor master
# This will clone the master branch into sub-directory master

$ git clone --reference master git://git.fedorahosted.org/revisor F-8
# This will create a F-8 sub-directory based on the master/ sub-
# directory


$ cd F-8

$ git checkout --track -b F-8 origin/F-8
# This will checkout branch F-8, and switch to that branch

Hope this helps,

Kind regards,

Jeroen van Meeuwen
-kanarip

--
Fedora-livecd-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list

Reply via email to