推拉后 Gitignore Unity 重命名空白且不工作
Gitignor Unity Renaming Blank and Not Working after push and pull
我正在尝试与 GitHub 建立一个团队,但每当有人将文件拖到他们的计算机上时,.gitignore 文件会将其自身重命名为空白并且似乎无法正常工作。我仍然收到 "The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in Gemfile." 错误以及更多要替换为 CRLF 错误的 LF
我试过放入许多不同的 .git忽略统一文件的变体,并将文件放在不同级别的许多文件夹中。 None 有效。提取 git 文件的人无法将其推回,因为他们收到 "CRLF to LF" 错误。我做错了什么!?enter image description here
CLRF 到 LF 警告只是一个警告,它不会阻止您退回回购协议。您可以在此处了解有关行尾以及如何稳健处理或忽略警告的更多信息:
LF will be replaced by CRLF in git - What is that and is it important?
我正在尝试与 GitHub 建立一个团队,但每当有人将文件拖到他们的计算机上时,.gitignore 文件会将其自身重命名为空白并且似乎无法正常工作。我仍然收到 "The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in Gemfile." 错误以及更多要替换为 CRLF 错误的 LF
我试过放入许多不同的 .git忽略统一文件的变体,并将文件放在不同级别的许多文件夹中。 None 有效。提取 git 文件的人无法将其推回,因为他们收到 "CRLF to LF" 错误。我做错了什么!?enter image description here
CLRF 到 LF 警告只是一个警告,它不会阻止您退回回购协议。您可以在此处了解有关行尾以及如何稳健处理或忽略警告的更多信息:
LF will be replaced by CRLF in git - What is that and is it important?