Create a zip archive of your current git branch.
[alias] | |
# Zip archive of current branch | |
# Usage: `git zip [filename]`, eg: `git zip ~/Desktop/source.zip` | |
zip = !sh -c 'git archive --format zip --output $1 `git rev-parse --symbolic-full-name --abbrev-ref HEAD`' - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment