Tag Archives: git

How to Move a Github Repository to Your Private RHEL or CentOS Server

Install Git on Your Private RHEL or CentOS Server If you don’t use RHEL or CentOS, or if Git is already installed on your server, please skip ahead. First, install the appropriate EPEL repository on your server: # curl -O http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm # yum –nogpgcheck install epel-release-5-4.noarch.rpm Next, install Git: # yum install git Create a [...]

Posted in essays | Also tagged , , | Leave a comment

Syncing a Local Git-Less Subversion Working Copy with a Remote Git Repository

Checkin all your local modifications to svn: svn ci -m “message” . Setup git for your local working copy: git init . Sync your local working copy with the remote git repository: git remote add origin git@github.com:username/project.git git pull origin master Revert your local working copy to your most recent svn checkin: svn revert -R [...]

Posted in essays | Also tagged | Leave a comment

Installing git on CentOS 5.3

i386: rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm x86_64: rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm finally: yum install git — via Hampson.ca

Posted in essays | Also tagged | Leave a comment