fzf-git makes Git files and commits selection easy.
Key-bindings
Tabkey to select multi filesCtrl+downto scroll preview
Key-bindings
Tabkey to select multi commitsCtrl+downto scroll previewleftkey to display branch selection in the commits selectionrightkey to display commits of selected branch in the branch selection
# Install requirements
$ brew install fzf
$ brew install expect
$ cd ~
$ git clone [email protected]:otoyo/fzf-git.gitAdd the following into ~/.zshrc
[ -d ~/fzf-git ] && \
source ~/fzf-git/fzf-git.zsh && \
bindkey '^G' fzf-git-widget && \
bindkey '^H' fzf-git-commit-widgetAnd reload ~/.zshrc
$ source ~/.zshrcNow you can use fzf-git by Ctrl+G and Ctrl+H in the Git repositories.
And, you can use multi-select by pressing Tab in fzf console.
fzf-git-widget: Search files fromgit statusfzf-git-commit-widget: Search commits fromgit log
Pull fzf-git.git and reload ~/.zshrc
$ cd ~/fzf-git
$ git pull origin master
$ source ~/.zshrcFeel free to open a Pull Requests ;)

