Improve glog alias by creating a function for it
Improve glog alias by creating a function for it that uses fzf to directly preview the full commit using git-show. The function also allows to select one of the commits and putting its abbreviated commit hash into the clipboard.
This commit is contained in:
@@ -70,7 +70,6 @@ alias gpll='git pull'
|
||||
alias gpull='git pull'
|
||||
alias gdiff='git diff'
|
||||
alias gd='git diff'
|
||||
alias glog="git log --pretty=format:'%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s' --graph --date=format:'%F %T' --color=always | less -Rn"
|
||||
|
||||
## Navigation
|
||||
alias ls='_ls_show_hidden --color=auto --group-directories-first -p -v'
|
||||
|
||||
Reference in New Issue
Block a user