The following paths are ignored by one of your .gitignore files…
I’m currently building a Go (golang) web app and when I started to manually add some Bootstrap files, I received the following error:
The following paths are ignored by one of your .gitignore files:
Use -f if you really want to add them.
That surprised me, I didn’t add bootstrap to my .gitignore file. In addition, it started to exclude some other files and folders, seemingly randomly.
Turns out that the default Github Go .gitignore file has the following couple of lines:
# Architecture specific extensions/prefixes
This means that the bootstrap-3.3.5 matches the pattern (*.5). To resolve, remove the offending lines and you’re good to go (no pun intended).