Skip to content

mheuvel-dev/fzf-git-recover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fzf-git-recover

Search for deleted files with git-recover in your Git repository, powered by fzf

Installation

  1. Install the latest version of fzf
  2. Install the latest version of git-recover
  3. Source fzf-git.sh file from your .bashrc or .zshrc
  4. 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

Usage

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.

List of bindings

  • CTRL-GCTRL-O or CTRL-Go for Orphaned files

Inside fzf

  • 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

About

Thomson's git-recover powered by FZF

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages