I'm completely confused as to why this procedure is not working and would very much appreciate some help. I'm confident this same procedure worked last week.
- git clone
- copy files from outside of the repo into the cloned repo (all of which have the same name as files already in the repo)
- 'git status' shows a whole bunch of modified files. Great
- 'git add .'
- 'git status' shows working directory clean, nothing to commit.
Why?
CodePudding user response:
Try first in your cloned repository git ls-files --eol
(Git 2.8 (March 2016))
Try also the same clone after git config --global core.autocrlf false
.
If this is eol (end-of-line) related, there should be no diff, and git status
should be clean.