mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 05:45:38 +00:00
7 lines
157 B
Fish
7 lines
157 B
Fish
set commitline (git log \
|
|
--pretty="format:%C(auto)%ar %h%d %s" \
|
|
| fzf \
|
|
)
|
|
and set commit (echo $commitline | cut -d" " -f4 )
|
|
and git show $commit
|