I have a repo I added a gitattributes to it and was working on it fine. I sync it via dropbox to another machine. When I opened it to the other machine a bunch
None of this works on my Windows 10 WSL, I had diff in README.md and was not able to pull changes, so I've did this from
echo README.md >> .gitignore # not sure if this is needed
rm README.md # this need to be rm without git
git pull
git checkout .gitignore # to remove the change
I think that it will also work if you just do:
rm file
git checkout
but I'm not able to test because my repo is working now.