0

When i try to make a file in master directory using git bash, i got one Error Message something like: "LF will be replaced by CRLF in plan(plan is the name of my new file which i try to create.)."

Is there anyone who could help me to find out the solution regarding this problem?

Yogesh Chalodiya
  • 55
  • 1
  • 1
  • 8
  • How do you create the file ? With *touch* ? – Claudio Oct 01 '14 at 13:35
  • first i create new branch name as first"git checkout -b first" then i add plan file by using the following command 1."echo My system first > plan" 2."git add plan" then i got this type of error. – Yogesh Chalodiya Oct 01 '14 at 13:43

1 Answers1

0

Easiest way to avoid this problem is to run git config --global core.autocrlf false

If you want to learn more about the issue, please go through git replacing LF with CRLF

Community
  • 1
  • 1
Mudassir Razvi
  • 1,783
  • 12
  • 33