Am basically scrapping my old code and starting afresh, so just some quick notes on how I was setting up a new rails app (mainly so I don't forget the next time I need to do it).
create an empty git repos on my central server (mainly for backups / sharing).
GIT_DIR=proj.git git init
On my devel workstation start off with your standard rails app.
rails appname
.gitignore << END
log/*.log
tmp/**/*
.DS_Store
doc/api
doc/app
END
touch log/.gitignore
touch tmp/.gitignore
git commit -m "Initial Commit"
Now need to push changes out to our central server
git remote add origin ssh://centralserver/proj.git
git push origin master
Now following a combination of Ryan Bates Railscast Gitting Rails 2.1RC1 and Graeme Mathieson's Using Git Submodules to track Vendor Rails snag a copy of edge rails into vendor rails, and update scripts,etc...
git submodule add git://github.com/rails/rails.git vendor/rails
rake rails:update
git commit -m "Imports Rail's Head as Submodule"
git push origin master
And now we are ready to do some coding.
