commit 721b34ead328c584928cae81d5c7ea301c3fe563 parent 19126c5e1c28cdd7140c1739c08f7360aa214b15 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Sat, 19 Oct 2019 13:41:10 -0400 git: commit at time alias Former-commit-id: 6ae829a79ed2bd89a7ac6e28f7a915f2cd1de448 Diffstat:
M | git/gitconfig | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/git/gitconfig b/git/gitconfig @@ -69,6 +69,13 @@ root = rev-parse --show-toplevel + commit-at = "!f(){\ + if [ $# -eq 0 ]; then\ + echo \"Date format: YYYY-MM-DD HH:MM:SS\";\ + else\ + GIT_COMMITTER_DATE=\"$1\" GIT_AUTHOR_DATE=\"$1\" git commit;\ + fi; }; f" + [merge] tool = vimdiff