git does not recognize exe file git does not recognize exe file windows windows

git does not recognize exe file


First, you can check if a file is locally ignored ion your repo with git check-ignore:

git check-ignore -v -- yourFile

Second, you can force to add that file (bypassing any ignore rule):

git add -f yourFile


I just put !NuGet.exe at first in .gitignore file and work perfect for me


I used TortoiseGit in Windows using Windows UI, navigated to the folder, right-clicked and added the .exe files directly. These added files showed up in SourceTree and I committed them from there.