Skip to content

Instantly share code, notes, and snippets.

@collegeimprovements
Forked from LeonardoCardoso/gitzip.sh
Created June 24, 2018 16:12
Show Gist options
  • Select an option

  • Save collegeimprovements/4503866a843b98eebba8d1f9cfc4341b to your computer and use it in GitHub Desktop.

Select an option

Save collegeimprovements/4503866a843b98eebba8d1f9cfc4341b to your computer and use it in GitHub Desktop.
Zip folder ignoring files listed on .gitignore
#...
function gitzip() {
git archive -o [email protected] HEAD
}
#... gitzip ZIPPED_FILE_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment