Skip to content

Instantly share code, notes, and snippets.

@ksato9700
Last active December 26, 2017 09:08
Show Gist options
  • Save ksato9700/98bc53a4fdbffa03fbf2a72df51ee57e to your computer and use it in GitHub Desktop.
Save ksato9700/98bc53a4fdbffa03fbf2a72df51ee57e to your computer and use it in GitHub Desktop.
$ cat << EOF > .gitattributes
*.yaml export-ignore
EOF
git archive --worktree-attributes --format=tgz HEAD > repo.tgz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment