Alias adding git trailers
This commit is contained in:
parent
9a3a71582c
commit
ed6f0f2215
2 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,8 @@
|
|||
hist-tags = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
|
||||
most-recent-by-branch = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
|
||||
root = rev-parse --show-toplevel
|
||||
add-trailer = commit --no-edit --amend --trailer
|
||||
|
||||
|
||||
[commit]
|
||||
gpgsign = true
|
||||
|
|
|
@ -54,6 +54,7 @@ alias grc="git rm --cached"
|
|||
alias grh="git reset --hard"
|
||||
alias grm="git rm"
|
||||
alias gst="git log $(git describe --tags --abbrev=0)..HEAD --no-merges --oneline"
|
||||
alias gsw='git log --pretty="%an <%ae>" | sort -u | fzf | xargs -I "{}" git add-trailer "Co-authored-by: {}"'
|
||||
alias gup="git-branch-delete-merged"
|
||||
alias Grep='grep'
|
||||
alias l="ls"
|
||||
|
|
Loading…
Reference in a new issue