Hey Andy

I ran into this one recently, and it still seems to cause me some issues on
the 1.7.x branch, where a whole ton of files show as changed immediately
after checkout. Should this work on Linux/Mac platforms without issue now?

Thanks

Jon

On Tue, Jul 21, 2015 at 6:44 PM, agumbrecht <[email protected]>
wrote:

> Hi Uday,
>
> To be able to use GIT on Win platforms with any success you need to make
> sure every repository you use has a '.gitattributes' file that contains at
> least the line '* text=auto' - TomEE repositories have this now, but there
> may have been a period where this is not the case - it looks like you may
> have cloned a TomEE repository that did not have this file. Please follow
> the steps below to fix your local repository. Open a console and cd into
> the
> local repository directory:
>
> Steps to Fix Line Endings
> ------------------------
>
> git rm --cached -r .
> git -f reset --hard
> git add .
> git commit -m "Normalize line endings"
>
> Hope this helps,
>
> Andy.
>
>
>
> -----
>     --
>     Andy Gumbrecht
>
>     http://www.tomitribe.com
>     [email protected]
>     https://twitter.com/AndyGeeDe
>
>     TomEE treibt Tomitribe ! | http://tomee.apache.org
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/CRLF-File-Endings-Problem-in-Git-tp4675533p4675559.html
> Sent from the TomEE Dev mailing list archive at Nabble.com.
>



-- 
Jonathan Gallimore
http://twitter.com/jongallimore
http://www.tomitribe.com

Reply via email to