I have a git repo, where I replaced a lot of files locally.
git status now shows many many modified files.
Some are \"really modified\", others only differ by li
cd /mnt/c
.cd repos/my-project
git diff -b --numstat \
| egrep $'^0\t0\t' \
| cut -d$'\t' -f3- \
| xargs git checkout HEAD --