I have 2 questions about the Download ZIP feature under the green “Code” dropdown menu:
I have a public repo on github. I want it’s users to be able to download the repo without having git installed on their computer.
I instruct them to use the Download ZIP option. My questions are
a) I am seeing that the downloaded zip file is always of the default branch no matter what the actual branch is selected when you click Download ZIP. Wondering if that is the intended behavior or am I doing something wrong? The only way I am actually able to download a non-default branch using Download ZIP is by intuiting the url of the acutal file I want (by hovering over the option in the browser and substituting the branch in the url) then using a java program to download that url. Curious if there’s an option to do this through the website.
b) My repo contains a reference to a submodule. Is it possible to have the submodule be included in the zip file using the Download ZIP feature?