Force add despite the .gitignore file

C++
git add --force my/ignore/file.foo
Source

Also in C++: