Reputation: 6467
I am sharing my repository between my linux and windows machine and pushed some permission changes on my linux machine.
Now my windows machine says I'm up-to-date when doing this:
git fetch -all
git reset --hard origin/master
git pull
yet when I attempt to do the following:
git checkout dev
It suddenly tells me I have local changes, which just so happen to be the same files of which I modified the permissions on my linux machine.
What is the right way of dealing with this? I made those permission changes so I don't have to manually use chmod
every time I pull on my linux machine.
Upvotes: 0
Views: 208
Reputation: 38669
Try setting core.fileMode
to false
on Windows, then the executable bit is ignored for the windows repo.
Upvotes: 4