Last active
September 18, 2017 19:24
-
-
Save DanielFGray/9bad3f7a8b3f782acabcfa54edb8e5f5 to your computer and use it in GitHub Desktop.
fancy git-log stuff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log --graph --oneline --decorate --all --color=always | | |
fzf --ansi +s --preview='git show --color=always {2}' \ | |
--bind='pgdn:preview-page-down' \ | |
--bind='pgup:preview-page-up' \ | |
--bind='enter:execute:git show --color=always {2} | less -R' \ | |
--bind='ctrl-x:execute:git checkout {2} .' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
more of this hackery can be found in my fzf-script repos, in particular the fzgit script