Setting up a simple GitHub repo

Wednesday, 4 November 2009

Global setup:

sudo apt-get install git-core
git config --global user.name "James"
git config --global user.email kerspoon@gmail.com

Next steps:

mkdir laos
cd laos
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:kerspoon/laos.git
git push origin master

0 comments

Post a Comment