This is my first experience with git.
Until now, I used Mercurial (and bitbucket), because of two main reasons:
- it is largely used by Python community
- it is written in Python and thus portable (especially to Windows)
But I develop on Ubuntu, so I can give git a try :)
Here is what was at the home page of the repository:
Download and install Git
git config --global user.name "Your Name"
git config --global user.email firstname.lastname@gmail.com
mkdir testNodeJs
cd testNodeJs
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:parmentf/testNodeJs.git
git push origin master
cd existing_git_repo
git remote add origin git@github.com:parmentf/testNodeJs.git
git push origin master
Now, I'll have to learn git. :P
Hmm...
- git add (or git commit -a)
- git commit
- git push
A good quick reference site on git: http://gitref.org/
A good starting point seems to be http://howtonode.org/object-graphs