Posts Tagged dev

of github origins and removal

As described in this previous post, I was on my way to glory setting up my own source control.

This post is about setting up github.

The account creation is straight forward though one is also required to give the ssh key (not necessary) . Ample details on the site on how to generate on if you dont have already.

So my folly was of a typo. Somehow I typed git@github instead of git@github.com while adding remote source repo. After that when I tried to push the code I got the following error

ssh: github: Name or service not known
fatal: The remote end hung up unexpectedly

After a couple of permutation combinations i zeroed down on the cause. Now the simple thing was to remove the origin. Which is easy

git remote rm origin

Thats it. Good to go. Now one can specify another remote origin and continue as happy users.

Comments (1)

gitting things right

So this friday night found me setting up a source control for myself (finally).

I had no doubts about the capabilities of linus written git so I went ahead with it.

First step : getting git

The git package in ubuntu universe is 1.5.4 which is quite old so head to the git site for the latest package.

Second step : Installing git

Though this step is straightforward, one might face errors as i did.

The simple installation is three steps

~/git$ ./configure

~/git$ make

~/git$ make install

This should install git. If you face errors then the most common problem is that you might not be meeting all the dependencies required to compile git. Best way to ensure that the dependencies are met is to build dependencies of the git core by doing the following

~/git$ sudo apt-get build-dep git-core

After this everything should be hunkydory. This ubuntu forum discussion might be more useful.

After this I wanted a repository on the net. I chose github.

Make an account and follow the subsequent steps and you will be good to go.

Except , I faced a little problem because of my own folly which deserves another quick little post.

Comments (1)