I have massive folders in my git repository, and in order to publish it, I need to reduce the size of the repository, so I'm using a .gitignore file.
In my .gitignore file I ignore two folders. One folder contains the boost c++ library, and the other contains the C++ Qt library.
Both are massive. However, when I specify in my .gitignore file to exclude these folders and their contents, it actually adds to the amount of objects to be pushed.
Here is my .gitignore
boost_1_60_0/
Qt/
ERRORLOG.rtf
CHANGELOG.rtf
Any ideas on what may be causing this?