From f908cc9b8f0dc22a0e12d14dd0fdf7e2883ae47b Mon Sep 17 00:00:00 2001 From: Blaine Schmeisser Date: Sun, 12 Jul 2015 13:16:26 -0700 Subject: [PATCH] Update amend to set the current date on the commit. --- bin/git-ca | 1 + gitconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100755 bin/git-ca diff --git a/bin/git-ca b/bin/git-ca new file mode 100755 index 0000000..7629ee8 --- /dev/null +++ b/bin/git-ca @@ -0,0 +1 @@ +git commit --amend -v --date=$(date +%Y-%m-%dT%H:%M:%S) diff --git a/gitconfig b/gitconfig index 4deac9c..30c0809 100644 --- a/gitconfig +++ b/gitconfig @@ -8,7 +8,6 @@ aa = add --all ap = add --patch branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes - ca = commit --amend -v ci = commit -v co = checkout st = status