When I copy files from my Linux machine to my external HDD (FAT format), 'git status' shows that files are modified. I guess that occurs because of the file system difference.
I formatted the external HDD with FAT to share it with my Mac, Windows, and Linux.
How can I solve this problem?
Thanks.
Sam
This could be caused by mismatched permission bits. From git-config manpage:
core.fileMode
If false, the executable bit differences between the index and the working copy are ignored; useful on broken filesystems like FAT. See git-update-index(1).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With