From add24d9ceffd654530457c75fd4ddfb0c178a324 Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Sun, 11 Jun 2017 17:33:24 +0200 Subject: Spell out aliases --- gitconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gitconfig') diff --git a/gitconfig b/gitconfig index ca5555b..f9a1ab5 100644 --- a/gitconfig +++ b/gitconfig @@ -37,13 +37,16 @@ repacker = !git repack -a -d -f --depth=300 --window=300 --window-memory=1g optimize = !git pruner; git repacker; git prune-packed sm = submodule + # submodule remove smrm = "!f(){\ git submodule deinit -f \"$1\";\ rm -rf .git/modules/\"$1\";\ git rm -f \"$1\";\ }; f" + # dated commit dcm = "!f(){ git commit -m \"$(date --iso-8601=seconds)\"; }; f" + # dated push dps = "!f(){ git dcm; git push \"$@\"; }; f" ident = "!f(){\ -- cgit v1.2.3