Tuesday, October 5, 2010

Git & github getting started

Global setup:

Download and install Git
git config --global user.name "Your Name"
git config --global user.email eilif@gmx.de


Next steps:

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


Existing Git Repo?

cd existing_git_repo
git remote add origin git@github.com:markovg/test.git
git push origin master


Importing a Subversion Repo?

Click here


When you're done:

Continue

No comments:

Post a Comment