Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## ~/.gitconfig
- [alias]
- zip = !sh -c 'git-archive --format=zip --prefix=$(basename "`pwd -P`")/ $0 > $(basename "`pwd -P`")-$0.zip'
- ## git help output
- $ git help zip
- `git zip' is aliased to `!sh -c 'git-archive --format=zip --prefix=$(basename `pwd -P`)/ $0 > $(basename `pwd -P`)-$0.zip''
Add Comment
Please, Sign In to add comment