Page 1 of 1

Recover deleted git repository

Posted: 18 Aug 2020, 15:00
by toididnoc
I accidentally deleted a git repository, including the .git, not pushed since 3 weeks. I'm on ubuntu, with ext4 filesystem.
As a followup to this question:
viewtopic.php?p=5595#p5595,
I would like to know if photorec is able to recover git object files, or if there is any way to make it do it...

Thanks for any help!

Re: Recover deleted git repository

Posted: 18 Aug 2020, 18:12
by recuperation
I did not find the git-extension in the file option list of Photorec.
What are the other extensions?
You can easily look that information up yourself starting Photorec, selecting any disk and the proceeding with the file options.

When looking at the specifications it looks like a text file. I don't know if the term _deflate_ somehow indicates compression.
You would need to set up an individual fingerprint based on a keyword like "<blob>" , p.e.