Hi Antony!

I thought about this too, but imho you also have to provide the -x option to 
git clean to make sure that there is no temporary product left. But this will 
also clean your .project, *.iml etc, which is not a good deal usually :)

So you can either clean _all_ files or you also have all rubbish from 
.gitignore left in your working directory. And this may affect the build ...

LieGrue,
strub

--- Antony Stubbs <antony.stu...@gmail.com> schrieb am Sa, 25.4.2009:

> Von: Antony Stubbs <antony.stu...@gmail.com>
> Betreff: Re: Using GIT as the canonical repository for Maven 3.x
> An: dev@maven.apache.org
> Datum: Samstag, 25. April 2009, 3:01
> 
> not true!
> 
> git reset --hard
> git clean -f
> git checkout tag
> 
> will ensure an exact match with the tag/branch.
> 
> 
> struberg wrote:
> > 
> > 
> >> Do we really need to do a clean checkout from the
> tag?
> > 
> > I'd strongly recommend it!
> > 
> > The main problems here are files which aren't checked
> in or ignored but
> > somehow affect the compile or test outcome. This may
> imho only be
> > guaranteed by a clean checkout into a separate
> directory.
> > 
> 
> 
> -----
> ___________________________
> 
> http://stubbisms.wordpress.com http://stubbisms.wordpress.com 
> -- 
> View this message in context: 
> http://www.nabble.com/Using-GIT-as-the-canonical-repository-for-Maven-3.x-tp23201420p23227239.html
> Sent from the Maven Developers mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to