I would like to allow some users to download a zip archive of specific tags/commits, but not give them the ability to clone or browse the whole repository.
That is not possible. The best approach to this one would be creating a new repository with the history you want to share. When needing to update the new repository you can create pull requests and update it. This would be the public-facing repository where you would allow people to clone it.
You probably wanted something simpler, but I can think of any better option now.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.