Guest User

Untitled

a guest
May 27th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. rails app-name
  2. cd app-name
  3.  
  4. git init
  5.  
  6. touch .gitignore
  7.  
  8. edit your .gitignore to read:
  9.  
  10. log/*.log
  11. tmp/**/*
  12. .DS_Store
  13. public/cache/**/*
  14. public/uploaded_files
  15. doc/api
  16. doc/app
  17. config/database.yml
  18.  
  19. touch log/.gitignore
  20. touch tmp/.gitignore
  21.  
  22. cp config/database.yml config/database.yml.example
  23.  
  24. git add .
  25.  
  26. git rm public/index.html -f
  27.  
  28. git commit -v -a -m “initial commit”
Add Comment
Please, Sign In to add comment