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:
parent
7b418c2abc
commit
3bb6de1dd9
6
aliases
6
aliases
@ -129,10 +129,10 @@ alias grm="git rm"
|
|||||||
alias gc="git commit"
|
alias gc="git commit"
|
||||||
alias gcm="gc -m"
|
alias gcm="gc -m"
|
||||||
gcmst() { git stash -u -k && git commit -m "$1" && git stash pop; }
|
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 gcn="git commit --no-edit"
|
||||||
alias gcan="git commit --amend --no-edit"
|
alias gcan="gca --no-edit"
|
||||||
alias gcam="git commit --amend -m"
|
alias gcam="gca -m"
|
||||||
alias gst="git status"
|
alias gst="git status"
|
||||||
|
|
||||||
alias gm="git merge"
|
alias gm="git merge"
|
||||||
|
Loading…
Reference in New Issue
Block a user