Rename gk prefixed aliases to gC
This commit is contained in:
parent
4c116cb4d2
commit
5b2dcb8844
@ -81,14 +81,14 @@ alias giR='git reset --keep'
|
|||||||
alias gix='git rm -r --cached'
|
alias gix='git rm -r --cached'
|
||||||
alias giX='git rm -rf --cached'
|
alias giX='git rm -rf --cached'
|
||||||
|
|
||||||
# Konflict (k)
|
# Conflict (C)
|
||||||
alias gkl='git status | sed -n "s/^.*both [a-z]*ed: *//p"'
|
alias gCl='git status | sed -n "s/^.*both [a-z]*ed: *//p"'
|
||||||
alias gka='git add $(gkl)'
|
alias gCa='git add $(gCl)'
|
||||||
alias gke='git mergetool $(gkl)'
|
alias gCe='git mergetool $(gCl)'
|
||||||
alias gko='git checkout --ours --'
|
alias gCo='git checkout --ours --'
|
||||||
alias gkO='gko $(gkl)'
|
alias gCO='gCo $(gCl)'
|
||||||
alias gkt='git checkout --theirs --'
|
alias gCt='git checkout --theirs --'
|
||||||
alias gkT='gkt $(gkl)'
|
alias gCT='gCt $(gCl)'
|
||||||
|
|
||||||
# Log (l)
|
# Log (l)
|
||||||
git_log_format_medium='--pretty=format:%C(bold)Commit:%C(reset) %C(green)%H%C(red)%d%n%C(bold)Author:%C(reset) %C(cyan)%an <%ae>%n%C(bold)Date:%C(reset) %C(blue)%ai (%ar)%C(reset)%n%+B'
|
git_log_format_medium='--pretty=format:%C(bold)Commit:%C(reset) %C(green)%H%C(red)%d%n%C(bold)Author:%C(reset) %C(cyan)%an <%ae>%n%C(bold)Date:%C(reset) %C(blue)%ai (%ar)%C(reset)%n%+B'
|
||||||
|
Reference in New Issue
Block a user