Notes on Ubuntu (Linux) computing

Brief notes on installation, setup and other tasks in the Ubuntu world

Install git and configure for github

with one comment

git is a tool for version control on programming projects. The install is easy:

sudo apt-get install git

Setup github access

Assuming you already have an account, the following gets github ssh access up and running, following the process described here. The following commands set parameters and generate a key for upload to the github website:

git config --global color.ui true
git config --global user.name "Your Name"
git config --global user.email "your.name@gmail.com"
ssh-keygen -t rsa -C "your.name@gmail.com"

Copy the key to the clipboard (setup xclip if in needed — see here)

cat ~/.ssh/id_rsa.pub | clipboard

Your key is now in your clipboard, go to the github website and paste the new key in the appropriate area:

Finally, test to make sure that it works:

ssh -T git@github.com
Advertisements

Written by Chris S

October 8, 2012 at 12:56 am

One Response

Subscribe to comments with RSS.

  1. […] in Ubuntu 10.04lts and will provide my notes on how to install the development version from the github repository. This is important for me because I have found a variety of instances where I needed the […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: