1

My git seems to be stuck. I was trying to start pushing my project onto GitHub.

I have done the following:

git init

git add .

When doing git add . I was getting a non stop message running saying:

warning: LF will be replaced by CRLF. for all my files.

I saw an article online that said to do, which I did :

git config ---global core.autocrlf false

I then tried to do git add . again and it is completely stuck.

Upon doing git status I get a number of untracked files.

Any idea of what this error is?

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
RandomDeveloper
  • 833
  • 2
  • 9
  • 31
  • 2
    `LF will be replaced by CRLF` il probably caused by how your OS manage ending line (check [this](https://stackoverflow.com/questions/5834014/lf-will-be-replaced-by-crlf-in-git-what-is-that-and-is-it-important)) – Alberto Sinigaglia Oct 20 '20 at 08:21
  • 1
    [`git add ---renormalize`](https://git-scm.com/docs/git-add#Documentation/git-add.txt---renormalize) – phd Oct 20 '20 at 10:52
  • thanks @Berto99 changing ```git config -- global``` mentioned to ```true``` sorted it my problem. – RandomDeveloper Oct 21 '20 at 05:16

0 Answers0