aboutsummaryrefslogtreecommitdiff
path: root/files/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to 'files/.gitconfig')
-rw-r--r--[-rwxr-xr-x]files/.gitconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/.gitconfig b/files/.gitconfig
index cfe4dfc..b9c9357 100755..100644
--- a/files/.gitconfig
+++ b/files/.gitconfig
@@ -23,3 +23,4 @@
kb = !sh -c 'gitk --branches' -
fix = commit --amend -C HEAD
ar = !sh -c 'git archive --format=tar --prefix="$(basename "$PWD")-$1/" $1^{tree} | bzip2 >"$(basename "$PWD")-$1.tar.bz2"' -
+ history-all = "!gitk --all $( git fsck | awk '/dangling commit/ {print $3}'; git log -g --pretty='format:%H')"