On Thursday, June 12, 2014 1:39:19 PM UTC+2, Khyati Shrivastava wrote:
> Hi,
> I have a git server hosted on stash. This is a corporate server. I am 
> running git commands from windows cmd hence want them to be case 
> insensitive. 
> I have set the following global setting but it doesn't seem to work. Do I 
> need to make these changes on the git server.
> Can i set this at stash server? so that my entire GIT project is case 
> insensitive and we dont need to set it for every cloned repo.?

Git is case-sensitive internally, and you can't change this. You can 
however, make Git more bearable on case insensitive by setting the option 
you mentioned:

from https://www.kernel.org/pub/software/scm/git/docs/git-config.html :

> core.ignorecase
> If true, this option enables various workarounds to enable git to work 
> better on filesystems that are not case sensitive, like FAT. For example, 
> if a directory listing finds "makefile" when git expects "Makefile", git 
> will assume it is really the same file, and continue to remember it as 
> "Makefile".
> The default is false, except git-clone(1) 
> <https://www.kernel.org/pub/software/scm/git/docs/git-clone.html> or 
> git-init(1) 
> <https://www.kernel.org/pub/software/scm/git/docs/git-init.html> will 
> probe and set core.ignorecase true if appropriate when the repository is 
> created.

But you can't make entries within the Git "database" case-insensitive, so 
to speak. Your checkout example will never work, I'm afraid. 

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to