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
...


5 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. fantastic post from you guys that amazed me as I get lot to learn from your article. It is Really very informative and creative contents for all the person who is looking to gain knowledge from the article. Thanks for sharing in information
    Thanks.
    DedicatedHosting4u.com

    ReplyDelete


  3. This is a fantastic idea! I like it a lot because it's super easy for the audience to see the value of opting in. wonderful and amazing post very use full your post thanks for sharing your article
    Android Application development
    Web application

    ReplyDelete


  4. 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

  5. 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