Skip to content

Instantly share code, notes, and snippets.

@masuidrive
Created January 4, 2009 02:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masuidrive/42989 to your computer and use it in GitHub Desktop.
Save masuidrive/42989 to your computer and use it in GitHub Desktop.
# Rails on GitHub
export APP=hogehoge
mkdir $APP
cd $APP
git init
rails $APP
git add log tmp
touch tmp/.gitignore log/.gitignore
echo "log/*.log" > .gitignore
echo "tmp/**/*" >> .gitignore
echo "*~" >> .gitignore
echo "#*#" >> .gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment