From 9d16c95ee16a7f71e6086e8a231c3ec04427aeda Mon Sep 17 00:00:00 2001 From: Timo Sand Date: Thu, 29 Nov 2018 17:28:21 +0100 Subject: [PATCH] Adds a few useful git aliases (#258) Addresses #225 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 5f29530..3bb8931 100644 --- a/README.md +++ b/README.md @@ -1518,6 +1518,8 @@ On OS X and Linux, your git configuration file is stored in ```~/.gitconfig```. wc = whatchanged wip = rebase -i @{u} zap = fetch -p + day = log --reverse --no-merges --branches=* --date=local --since=midnight --author=\"$(git config --get user.name)\" + delete-merged-branches = "!f() { git checkout --quiet master && git branch --merged | grep --invert-match '\\*' | xargs -n 1 git branch --delete; git checkout --quiet @{-1}; }; f" ``` ### I want to add an empty directory to my repository