Git
Everyday GIT With 20 Commands Or So
Install Git on CentOS 5.5
First need to enable the EPEL repository
# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarc...
then you can install Git
# yum install git
How to clone a branch
$ git clone --depth 1 git://repo_address -b branch_name Example: $ git clone --depth 1 git://github.com/JangoSteve/Rails-jQuery-Demo.git -b remotipart-rails-3-0
- Login to post comments