A new Rails App and Git

Thursday, March 19th, 2009

I’ve always got confuse (4get neng na) when mostly starting a new rails app and have it configured to work with git. So here’ s a quick note to remember:
new rails app:

1
$> sudo rails my_new_app

Then add a git to it:

1
2
$> cd my_new_app
$> sudo git init

Then just tell git who were are:

1
$>git config –global user.name "Your [...]