git用CRLF代替LF
问题: Running git on a Windows XP machine, using bash. 使用bash在Windows XP计算机上运行git。 I exported my project from SVN, and then cloned a bare repository. 我从SVN导出了我的项目,然后克隆了一个裸存储库。 I then pasted the export into the bare repositories directory, and did a: 然后我将导出粘贴到裸存储库目录中,并执行了: git add -A I then got a list of messages saying: 然后我得到一条消息列表: LF will be replaced by CRLF LF将由CRLF取代 What are the ramifications of this conversion? 这种转变的后果是什么? This is a .NET solution in Visual Studio. 这是Visual Studio中的.NET解决方案。 解决方案: 参考一: https://stackoom.com/question/8Fnm/git用CRLF代替LF 参考二: https://oldbug.net/q/8Fnm/git