Set up git/hub on Ubuntu

Sunday February 16, 2014

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 "[email protected]"
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 "[email protected]"
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!

This post was originally hosted elsewhere.