Easy question I hope: how do I stop the make install process adding my .git directory to the zip file to be uploaded?
thanks
Jonny
Easy question I hope: how do I stop the make install process adding my .git directory to the zip file to be uploaded?
thanks
Jonny
You could alter the make file (if you are using it) portion that does the zipping, or exclude it manually if manually zipping. We just use a repo with a structure that can contain more than one channel, and the .git dir isn’t at any part where it would be zipped with a channel.
E.g.
REPO_ROOT
.git/
source/
test_channel/
manifest
images/
source/
other_channel/
manifest
images/
source/
zips/
In fact, copying the layout of the SDK to some degree may work well, that’s what we did.
This is what I do to ignore .git folder
Makefile
ZIP_EXCLUDE = -x .git\*