diff --git a/.aliases b/.aliases index f8f078d..dfaf413 100644 --- a/.aliases +++ b/.aliases @@ -93,6 +93,7 @@ alias glg='git log --graph --decorate' alias glgs='git log --stat --graph --decorate' alias glgso='git log --oneline --stat --graph --decorate' alias glog='git log --oneline --graph --decorate' +alias glogf="git log --pretty=format:'%C(bold yellow)%h%Creset %Cgreen%ad%Creset %C(white)|%Creset %C(bold white)%s%Creset%C(auto)%d%Creset [%Cblue%an%Creset]' --graph --date=short" alias gm='git merge' alias gmv='git mv' alias gma='git merge --abort' @@ -149,6 +150,7 @@ alias ylg='yadm log --graph --decorate' alias ylgs='yadm log --stat --graph --decorate' alias ylgso='yadm log --oneline --stat --graph --decorate' alias ylog='yadm log --oneline --graph --decorate' +alias ylogf="yadm log --pretty=format:'%C(bold yellow)%h%Creset %Cgreen%ad%Creset %C(white)|%Creset %C(bold white)%s%Creset%C(auto)%d%Creset [%Cblue%an%Creset]' --graph --date=short" alias ym='yadm merge' alias ymv='yadm mv' alias yma='yadm merge --abort' diff --git a/.config/git/config b/.config/git/config index c2aaf14..7fb80a8 100644 --- a/.config/git/config +++ b/.config/git/config @@ -21,3 +21,12 @@ [diff] colorMoved = default + +[alias] + co = checkout + ci = commit + st = status + br = branch + hist = log --pretty=format:'%C(bold yellow)%h%Creset %Cgreen%ad%Creset %C(white)|%Creset %C(bold white)%s%Creset%C(auto)%d%Creset [%Cblue%an%Creset]' --graph --date=short + type = cat-file -t + dump = cat-file -p \ No newline at end of file