[go: up one dir, main page]

Skip to content

Latest commit

 

History

History

Extractor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Git Extractor

This is a script which tries to recover incomplete git repositories:

  • Iterate through all commit-objects of a repository
  • Try to restore the contents of the commit
  • Commits are not sorted by date

Usage

bash extractor.sh /tmp/mygitrepo /tmp/mygitrepodump

where

  • /tmp/mygitrepo contains a .git directory
  • /tmp/mygitrepodump is the destination directory

This can be used in combination with the Git Dumper in case the downloaded repository is incomplete.