1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

aliases: set date when amending a commit

This commit is contained in:
Joe Groocock 2019-10-10 14:05:30 +01:00
parent 7b418c2abc
commit 3bb6de1dd9
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -129,10 +129,10 @@ alias grm="git rm"
alias gc="git commit"
alias gcm="gc -m"
gcmst() { git stash -u -k && git commit -m "$1" && git stash pop; }
alias gca="git commit --amend"
alias gca="git commit --amend --date=\"$(date -R)\""
alias gcn="git commit --no-edit"
alias gcan="git commit --amend --no-edit"
alias gcam="git commit --amend -m"
alias gcan="gca --no-edit"
alias gcam="gca -m"
alias gst="git status"
alias gm="git merge"