Friday, March 12th, 2010

Getting your Github git project to dreamhost

Problem
You already have a project in github, but you want to move it to a different host (ie dreamhost)
Solution
Following the post here that describes how to setup a new git repository in dreamhost, the only difference after the initial setup :
ssh username@dreamhost_domain.com
mkdir -p ~/git/yourproject.git
cd ~/git/yourproject.git
git –bare init
is to edit your project’s .git/config file:
vi local_host/your_project/.git/config
and change [...]

No Comments » - Posted in Dreamhost, git, linux by kosmas

Thursday, October 2nd, 2008

git and Mandriva

Problem
You want to install the git (Fast version control system) in Mandriva, but using:
urpmi git
installs the GNU Interactive Tools.
Solution
Use the following to install the version control system
urpmi git-core

No Comments » - Posted in Mandriva, linux, ruby on rails by kosmas

Thursday, April 24th, 2008

git: fatal error: `chdir’ failed: permission denied.

Problem
Trying to use the heroku gem to clone a project and do local modifications I got the following error:
git: fatal error: `chdir’ failed: permission denied.
Solution
It turns out that in Mandriva, when using:
sudo urpmi git
what gets installed is the ‘GNU Interactive Tools’ that has nothing to do with the git version control system.
So make sure you [...]

1 Comment » - Posted in linux, ruby on rails by kosmas