Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

any function or alias for release archive #1871

Closed
UncleBill opened this Issue · 2 comments

3 participants

@UncleBill

like

git archive --format=zip --output ./master.zip master

create a master.zip of master branch

@mcornella

Hi @UncleBill, thanks for your comment, I didn't know this feature of git.

I don't think that such an alias can be made in a way that satisfies everybody; for instance, one project might use tarballs, while the other might want to release a specific tag (v1.0.0) instead of the master branch. Also, one same user might use different git archive commands for different projects; I don't know if this command can be automated enough.

If you're missing your own, you can always define you alias or function in your zshrc file.
Cheers!

@mcornella

Though we could obviously make different aliases for different release types; if you care to submit a PR we'll consider it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.