3 ms·
N'other silly one: git log --oneline --decorate --color | fzf --ansi --preview 'git show $(echo {} | cut -d" " -f1)' The possibilities, they are _endless_
by lloeki 4y ago
N'other silly one:
git log --oneline --decorate --color | fzf --ansi --preview 'git show $(echo {} | cut -d" " -f1)'
The possibilities, they are _endless_ !!11!1!
- nickjj 4y agoIndeed! If you're using the fzf.vim plugin[0] you can run `:Commits` to do something similar to your command too. It adds a bit more detail such as when the commit was made in relative format and color codes the git diff. [0]: https://github.com/junegunn/fzf.vim https://github.com/junegunn/fzf.vim