summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2022-11-10 20:09:45 +0100
committerAndreas Fankhauser hiddenalpha.ch2022-11-10 20:09:45 +0100
commit2aff5015c4fb7e018c86807a8e4ee79f73f2d15b (patch)
tree3d7e26f2246c1c9863216c1a3a1cd86402cd34c1
parent5322ab95c2d606796243c2918fc9b6614ff9974a (diff)
downloaddotfiles-2aff5015c4fb7e018c86807a8e4ee79f73f2d15b.zip
dotfiles-2aff5015c4fb7e018c86807a8e4ee79f73f2d15b.tar.gz
(git) add rimraf alias
-rw-r--r--src/git/_gitconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/git/_gitconfig b/src/git/_gitconfig
index dabdf84..9f93798 100644
--- a/src/git/_gitconfig
+++ b/src/git/_gitconfig
@@ -37,6 +37,7 @@
la = log --graph --decorate --date-order --all
mb = merge-base
s = status
+ rimraf = ! git clean -df && git reset --hard HEAD
[color]
ui = always