Embrace Dreams
Protect your Dream, if you Got One.
Archive for the ‘git’ Category
Install Git on Centos 5x
December 20th, 2011 | admin
<code>$rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm </code>
<code>#yum install git</code>
fetch remote branch via git
December 5th, 2011 | admin
We have many remote branches such as origin/dev, origin/master, origin/research and so on. How to fetch remote branch?
$git checkout -b dev origin/dev
dev is local branch name, origin/dev is remote branch name.