{"repo":"junegunn/fzf-git.sh","free":true,"listed":false,"github":"https://github.com/junegunn/fzf-git.sh","clone":"git clone https://github.com/junegunn/fzf-git.sh.git","description":"bash, zsh, and fish key bindings for Git objects, powered by fzf","language":"Shell","stars":1174,"topics":["bash","fzf","zsh","fish"],"license":"MIT","category":"cli-tools","readme_excerpt":"fzf-git.sh ========== bash, zsh, and fish key bindings for Git objects, powered by [fzf][fzf]. Each binding will allow you to browse through Git objects of a certain type, and select the objects you want to paste to your command-line. [fzf]: https://github.com/junegunn/fzf Installation ------------ Install the latest version of [fzf][fzf] (Optional) Install bat for syntax-highlighted file previews Git v2.42.0 or later is required for the git for-each-ref binding Update your shell configuration file bash or zsh Source fzf-git.sh file from your .bashrc or .zshrc fish Source fzf-git.fish from your config.fish Usage ----- List of bindings CTRL-G ? to show this list CTRL-G CTRL-F for F iles CTRL-G CTRL-B for B ranches CTRL-G CTRL-T for T ags CTRL-G CTRL-R for R emotes CTRL-G CTRL-H for commit H ashes CTRL-G CTRL-S for S tashes CTRL-G CTRL-L for ref l ogs CTRL-G CTRL-W for W orktrees CTRL-G CTRL-E for E ach ref ( git for-each-ref ) [!WARNING] You may have issues with these bindings in the following cases: CTRL-G CTRL-B will not work if CTRL-B is used as the tmux prefix CTRL-G CTRL-S will not work if flow control is enabled, CTRL-S will freeze the terminal instead ( stty -ixon will disable it) To workaround the problems, you can use CTRL-G {key} instead of CTRL-G CTRL- {KEY} . [!WARNING] If zsh's KEYTIMEOUT is too small (e.g. 1), you may not be able to hit two keys in time. Inside fzf TAB or SHIFT-TAB to select multiple objects CTRL-/ to change preview window layout CTRL-O to open t","default_branch":null,"files":null,"tree":[],"storefront":"/r/junegunn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/junegunn/fzf-git.sh/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}