boscomonkey (owner)

Revisions

gist: 107280 Download_button fork
public
Public Clone URL: git://gist.github.com/107280.git
Embed All Files: show embed
git-zip.sh #
1
2
3
4
5
6
7
8
#/bin/sh
 
# git-zip.sh
#
# Creates a zip file of the HEAD of the current git repository
 
CWD=`basename $PWD`
git archive --format=zip --prefix=${CWD}/ -9 HEAD > ../${CWD}.zip