How to enable using Git repository with files with long paths for all users?

Viewed 7605

On Windows using git repository with long paths causes errors for example for pull:

"Fatal: cannot create directory at PATH: Filename too long".

To solve that all repository users can add "longpaths = true" to their .gitconfig files. But how can I do this so that other users don't have to worry about it and can use the repository normally?

1 Answers
Related