Wednesday, January 21, 2009

You have to love git


#!/bin/bash

VERSION=`date +"%m%d%y"`
PREFIX="hieronymus"

git archive --format=tar --prefix=$PREFIX/ HEAD | gzip > ../$PREFIX$VERSION.tgz

No comments:

Post a Comment