In our software development team, my teammate have used macOS and I'm using Windows 10. My teammate pushed some files that the name contains backslash (logs\11132019.txt
) and then when I pull those files my local, I get filename in tree entry contains backslash error because in macOS, any files contain backslash character but in Windows 10 doesn't. How can I resolve this problem?
Asked
Active
Viewed 633 times
0

ddagsan
- 1,786
- 18
- 21
-
2The easiest solution is to make your teammates rename the file and push the update. – Joachim Sauer Dec 13 '19 at 13:16
-
https://stackoverflow.com/search?q=%5Bgit%5D+invalid+filename+windows – phd Dec 13 '19 at 13:25
-
@JoachimSauer you are right. Actually the other problem occurs when I want to run git checkout command that contains backslash hash or any previous version of that in Windows 10 machine. – ddagsan Dec 16 '19 at 08:08