From 10db9233f89339b1cefee5fcc139b5ccd21e5015 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Fri, 5 Jan 2018 15:59:36 +0000 Subject: [PATCH] Added random-commit git alias --- gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitconfig b/gitconfig index 5f458d1c..7175bd0d 100644 --- a/gitconfig +++ b/gitconfig @@ -15,6 +15,8 @@ detach = "!git checkout $(git rev-parse HEAD)" undo = reset --soft HEAD^ + random-commit = "!git commit -m \"$(w3m whatthecommit.com | head -n 1)\"" + [filter "lfs"] process = git-lfs filter-process required = true