Thursday, April 26, 2012

Adding a Grails 2.0* application to Git

This is a quick note to remind me what my .gitignore file looks like for Grails 2.* applications:


*.iws
*Db.properties
*Db.script
.settings
.classpath
.project
eclipse
stacktrace.log
target
target-eclipse
/plugins
/web-app/plugins
/web-app/WEB-INF/classes
web-app/WEB-INF/tld/c.tld
web-app/WEB-INF/tld/fmt.tld


I found this list on Heroku and added the eclipse-specific target-eclipse.

To add to git:



Jupiter:slink bendavies$ Jupiter:slink bendavies$ git init
Initialized empty Git repository in /Volumes/Data/users/bendavies/Documents/Projects/grails/slink/.git/

Jupiter:slink bendavies$ git add .
Jupiter:slink bendavies$ git commit -m init

[master (root-commit) a212627] init
 62 files changed, 2847 insertions(+), 0 deletions(-)
 create mode 100644 .gitignore
 create mode 100644 application.properties
 create mode 100644 grails-app/conf/ApplicationResources.groovy
...


4 comments:

  1. This page deliver important info regarding web 2.0. I learn new things regarding Web 2.0 from this post. Thanks! custom web apps development

    ReplyDelete


  2. Your post is very good. I got to learn a lot from your post. Thank you for sharing your article for us. it is amazing post
    what is seo
    types of seo

    ReplyDelete

  3. Thank you for sharing this great post, I am very impressed with your post, the information provided is meticulous and easy to understand. I will regularly follow your next post.

    Thanks
    Cpa offers

    ReplyDelete
  4. Write more, that’s all I have to say.
    Literally, it seems as though you relied on the video to make your point.
    You definitely know what you’re talking about.
    Thanks for sharinhg!
    softserialskey

    ReplyDelete