I\'m using Windows as my OS, and working on a project with a friend who\'s using a Mac. He checked in code to our Github.
I was trying to git pull everything he did
Solution1 - set global config, by running this command:
git config --system core.longpaths true
Solution2 - or you can edit directly your specific git config file like below:
YourRepoFolder -> .git -> config:
[core]
repositoryformatversion = 0
filemode = false
...
longpaths = true <-- (add this line under core section)
Solution3 - when cloning a new repository: here.