In particular, it is telling me I have modified
playground/traditional/*
straightafter doing
git clone g...@github.com:septract/jstar.git jstar
So I haven't done anything. Can someone explain?
Matt
Matt
On 22 September 2010 11:50, Stephan van Staden
Before my email the repo contained a mix of line endings. If we want
the repo text files to always end in LF, and I assume we do want such
uniformity, then
git config --global core.autocrlf input
makes sure that CRLF on someones filesystem becomes LF in the repo.
Github advices Unix users to do this just to make sure they don't
commit a file with CRLF endings that they downloaded from the net, for
example.
The command
git config --global core.autocrlf true
will do the same as the previous one AND will convert from LF to CRLF
when moving from the repo to the filesystem. Thus, it should be run on
Windows where editors prefer CRLF.
The problem you see is caused by files ending in CRLF that where in
the repository. Git tells you you have changes because it wants your
permission to change the endings in LF in the repo. Just do a commit.