Skip to content

git-phoenix-link #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 34 additions & 1 deletion after_using_photorec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,40 @@ After using PhotoRec
====================
Usually PhotoRec and QPhotoRec recover a lot of files but without the original filenames, it may be hard to locate the files you are interested in.

GIT repository extraction
*************************

https://github.com/yaitskov/git-phoenix/

Uber repo aggregation
---------------------

.. code-block:: none

git-phoenix uber -o uber -i /paranoid-no-brutforce-nonexpert-nocorrupted-zlib/
Duration: 45.71s
Found: 423254
Speed: 9260.03 files per second
Maximum number of SHA collisions: 17

Branch heads discovery
---------------------

.. code-block:: none

$ git-phoenix heads -a '^John' -u uber
7768eed9387ff 2025-12-31 23:45 John Dow all tests pass

Clean repo extraction by head SHA
---------------------------------

.. code-block:: none

$ git-phoenix extract -g my-foo -u uber -s 8fb567617e7
$ git -C my-foo reset
$ git -C my-foo checkout .
$ echo Woo-Hah

Sorting the files by extension
******************************

Expand Down Expand Up @@ -56,4 +90,3 @@ Under Linux, :command:`fslint` can be used to remove duplicated files
.. code-block:: none

/usr/share/fslint/fslint/findup -d jpg/