Tip on using Git on Windows
Continuing articles on Git, a distributed version control system that 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/list
Somehow I needed to write a project on ruby for Windows - there was a problem with the Windows line break that was inserted into all files automatically, as a result of which the project did not work at all. It turned out that to fix it, you need to fix gitconfig, in which the msysgit developers prudently inserted the CRLF auto-pause.
It is disabled by elementary editing gitconfig (can be found in the folder C: \ Program Files \ Git \ etc), change the contents of the core section to the following:
I hope the advice will be useful to many :)
There is no official Git port for Windows, there is a mingw + msys port at code.google.com/p/msysgit/downloads/list
Somehow I needed to write a project on ruby for Windows - there was a problem with the Windows line break that was inserted into all files automatically, as a result of which the project did not work at all. It turned out that to fix it, you need to fix gitconfig, in which the msysgit developers prudently inserted the CRLF auto-pause.
It is disabled by elementary editing gitconfig (can be found in the folder C: \ Program Files \ Git \ etc), change the contents of the core section to the following:
[core]
autocrlf = false
symlinks = false
I hope the advice will be useful to many :)