« Return to Thread: .gitignore example

.bzrignore example [ was Re: [grails-user] .gitignore example ]

by Russel Winder-4 :: Rate this Message:

Reply to Author | View in Thread

John,

I think this makes a perfectly good .bzrignore file as well for those
who prefer Bazaar to Git.

On Thu, 2008-09-18 at 13:37 -0600, jja@... wrote:

> There was a mention of .gitignore last month, but no complete example posted.
> I've just started playing with git on a brand new grails project.
> Here's my first cut at a .gitignore for Grails 1.0.3.
> (Note that /plugins/core was removed from 1.0.3.)
> Comments welcome.
> John Allison
>
> # .gitignore for Grails 1.0.3
>
> # web application files that are overwritten by "grails upgrade"
> #  cf. GRAILS_HOME/scripts/Upgrade.groovy, target( upgrade )
> /web-app/WEB-INF
>
> # IDE support files that are overwritten by "grails upgrade"
> #  cf. GRAILS_HOME/scripts/CreateApp.groovy, target( createIDESupportFiles )
> # to be specific, you could replace "/*" below with your project name,
> #  e.g. "foobar.launch" (no slash)
> .classpath
> .project
> .settings
> build.xml
> /*.launch
> /*.tmproj
>
> # logs
> stacktrace.log
> /test/reports
>
> # project release file
> *.war
--
Russel.
====================================================
Dr Russel Winder                 Partner

Concertant LLP                   t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,              f: +44 8700 516 084
London SW11 1EN, UK.             m: +44 7770 465 077


signature.asc (196 bytes) Download Attachment

 « Return to Thread: .gitignore example