Before using Github, I installed Git on my PowerBook. I used the installer from Git for OS X.
I signed up for the Micro plan at $7 per month since I needed private repos. When signing up you need to provide an SSH public key. I use Linux and OS X. My public key is located in
~/.ssh/id_rsa.pub. If you don't have a public key use the following command to create one:
Enter the contents of the key file in the "SSH Public Key" box. Since I use more than one computer, I added my other SSH keys. I did this from the account page in GitHub. I also went to the profile page and added information about myself.
I created a new repository by clicking on Create a Repository.
I then imported my subversion repo using the instructions from Jon Maddox.
Set up my user translations file:
echo 'sveit = Stephen Veit
git-svn init $SVN/tess/trunk/ --no-metadata
git config svn.authorsfile ~/Desktop/users.txt
git clone tess_tmp tess
Edit .git/config. Change the [remote "origin"] section to
url = firstname.lastname@example.org:srveit/tess.git
fetch = +refs/heads/*:refs/remotes/origin/*
push = refs/heads/master:refs/heads/master
Then push the repo to github:
git push origin
To check out the project into a new directory:
git clone email@example.com:srveit/tess.git tess
More information on git can be found from the home page:
"See the tutorial to get started, then see Everyday Git for a useful minimum set of commands."
See this post on my site Veit Consulting.