I've read a lot of different questions and answers on Stack Overflow as well as git documentation on how the core.autocrlf setting works.
This is my understanding from what I've read:
Unix and Mac clients use LF line endings.
Windows clients use CRLF line endings.
When core.autocrlf is set to true on the client, the git repository alw...
There had been a lot of discussions about the core.autocrlf and core.safecrlf features in the current release and the next release. The question i have here relates to an environment where developers clone from a bare repository.
During the clone the autocrlf settings are enabled. But since the developers has full control on their clon...
This question is somewhat similar to my other question,
http://stackoverflow.com/questions/3455772/make-sure-files-are-converted-crlf-into-lf-in-an-update-hook-is-there-a-performa
So here is what am looking for with the below architecture.
1. MY parent repository (bare and data) is on a UNIX machine.
2. I can clone my repository in a UN...
Practically everytime I stage a textfile (that's most of em), I get the message from git gui (I use msysgit) that It replaced (or is about to) line endings with CRLF's. Obviously I want that (and there's a setting for it huraah), but I don't want the annoying message popped up all the time!
Any way to keep the setting, but turn off/disa...
I have a doubt now, does Git does the CRLF conversion during a commit or during a vi of the file?
Let’s say I have some files in Windows with CRLF (not a Git repo), when I sync these files to a UNIX Git repo and do git add/commit with autocrlf true enabled, will these files get the conversion from CRLF to LF?
Or does it do the convers...