Shell script on MacOS to create a complete archive of a git repository with all submodules.
- Write log file for debug
- Initialize submodules before running
- Archive main repository and all submodules and nested submodules
- Export to zip file
release.zip
- Not include all files and folders from your
.gitignore
- Open root folder after running
- Place the script in your root project directory
- Run the command
sh git_archiver.sh
orsh git_archiver.sh true
to initialize submodules - Get your archive as a
release.zip
file in the root directory