summaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-04-01 11:03:36 +0200
committerTobias Klauser <tklauser@distanz.ch>2010-04-01 11:03:36 +0200
commitd7eb7f62e35df8d07d36046aac09a34dab49946d (patch)
tree963368e53ec20b3105bfd51b7cc347024a6c0628 /.gitconfig
parent6898becdeb56f90e25b87e0599b7fe12ab1d6bc1 (diff)
Add dist alias, taken from madduck and slightly adjusted
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index b440eb8..43d0de7 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -14,6 +14,7 @@
d = diff
ds = diff --stat
lp = log -p
+ dist = "!git archive --format=tar -v --prefix=$(git describe HEAD)/ $(git describe HEAD) | bzip2 -9v > ../$(git describe HEAD).tar.bz2"
[color]
ui = true