My main project regulary has users that download the repository through the ‘Download Zip’ function.
This zip archive does not include the .git folder. Which causes two issues:
There is now commit hash that can be referenced in logs, etc. thus making it difficult to ensure the user really has the latest version.
Submodules are unavailable and cannot be simply initialized with a ‘git submodule update --init --recursive’
Are there recommended ways to work around this?
Do I have to manually update a file with the wished information before pushing or is there a way to automate that in a simple fashion?