Created
November 26, 2019 23:43
-
-
Save ahmadawais/4824f6b6d3eddebd1839c317b4c1e834 to your computer and use it in GitHub Desktop.
#OneDevMinute: Git archive the current directory and ignore everything in .gitignore file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Git archive the current directory | |
# and ignore everything in .gitignore file. | |
# Usage: garc zipname | |
alias garc="git archive -o $1.zip HEAD" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment