summaryrefslogtreecommitdiff
path: root/gitconfig
diff options
context:
space:
mode:
authorTill Höppner2017-06-11 17:33:24 +0200
committerTill Höppner2017-06-11 17:33:24 +0200
commitadd24d9ceffd654530457c75fd4ddfb0c178a324 (patch)
tree7a3680c29517ad5a5113890e886f5852ae38d90e /gitconfig
parent1fa8a72ee4331edf1816060711fc66bdece2c4d0 (diff)
downloadgit-add24d9ceffd654530457c75fd4ddfb0c178a324.tar.gz
git-add24d9ceffd654530457c75fd4ddfb0c178a324.tar.xz
git-add24d9ceffd654530457c75fd4ddfb0c178a324.zip
Spell out aliases
Diffstat (limited to 'gitconfig')
-rw-r--r--gitconfig3
1 files changed, 3 insertions, 0 deletions
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(){\