Search for deleted files with git-recover in your Git repository, powered by fzf
- Install the latest version of fzf
- Install the latest version of git-recover
- Source fzf-git.sh file from your .bashrc or .zshrc
- Source fzf-git.thomson-git-recover.sh from your .bashrc or .zshrc
Warning
fzf-git.sh must be sourced prior to fzf-git.thomson-git-recover.sh
A key-binding allows you to browse through orphaned Git objects populated by git-recover. Select objects in fzf, preview them and paste selected identifiers to your command-line.
We follow the same user conventions as fzf-git.sh.
- CTRL-GCTRL-O or CTRL-Go for Orphaned files
- CTRL-F to select a
full
search by git-recover - ALT-E to examine the git-object in your editor
- TAB or SHIFT-TAB to select multiple objects
- CTRL-/ to change preview window layout