git is also tracking `/build` directory
Closed this issue · 1 comments
Arsenic-ATG commented
The problem
currently git also tracks the contents of /build
directory in the source tree.
doing so would not only increase the overall download size of project ( adding useless clutter to the source code ) but also might cause bunch of un-necessary merge conflicts when working with multiple branches/forks ( each with their own built binaries )
Possible Fix
Add the contents of /build
to .gitignore
file along with cache and binary files generated by Cmake and GNU Make while building the project.
Arsenic-ATG commented
this can also be a good opportunity to add other files to .gitignore
and let git ignore all the useless stuff other than what is necessary for the project. ( for example OS and editor generated files )