Set up git/hub on Ubuntu

This is an abbreviated version of the official help (e.g., github’s) that will work on Ubuntu.

Git will want to know who you are. It’ll tell you to do this if you try to commit and haven’t, so just go ahead and do it:

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

To easily work with github, you need to have a key and put the public one into github so it knows you.

ssh-keygen -t rsa -C "you@example.com"
cat ~/.ssh/id_rsa.pub

Copy the output from that last command and then paste it as a new key in the github SSH settings section. You should be good to go!

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