$ 0 0 You can simply git add -f path/to/foo.dll. .gitignore ignores only files for usual tracking and stuff like git add .