Here I will test NodeJS (and hopefully Cloud9 IDE)
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
HowToNode.js
MVC.js
README.md

README.md

testNodeJS

Introduction

This is my first experience with git.

Until now, I used Mercurial (and bitbucket), because of two main reasons:

  1. it is largely used by Python community
  2. it is written in Python and thus portable (especially to Windows)

But I develop on Ubuntu, so I can give git a try :)

Default README

Here is what was at the home page of the repository:

Global setup:

Download and install Git

git config --global user.name "Your Name"
git config --global user.email firstname.lastname@gmail.com

Next steps:

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

Existing Git Repo?

cd existing_git_repo
git remote add origin git@github.com:parmentf/testNodeJs.git
git push origin master

Importing a Subversion Repo?

https://github.com/parmentf/testNodeJs/imports/new

When you're done:

https://github.com/parmentf/testNodeJs

Git

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/

HowToNode

A good starting point seems to be http://howtonode.org/object-graphs