Continuing the articles on Git, the distributed version control system, which is used to develop projects such as Linux and Ruby on Rails, I would like to say a few words about working with it under Windows.
There is no official Git port for Windows, there is a mingw + msys port at
code.google.com/p/msysgit/downloads/listSomehow, it was necessary to write a project on ruby under Windows - there was a problem with the Windows line feed that was inserted into all files automatically, as a result of which the project did not work at all. It turned out that in order to fix it, you need to correct gitconfig, in which the developers of msysgit prudently inserted the CRLF autodetection.
')
It is disabled by an elementary
gitconfig editing (can be found in the folder
C: \ Program Files \ Git \ etc ), we change the contents of the core section to the following:
[core]
autocrlf = false
symlinks = false
I hope the advice will be useful to many :)