logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

annex-to-annex-reinject - use 'git annex reinject' to redo annex-to-annex

Author

       Sean Whitton <spwhitton@spwhitton.name>

Description

       Wrapper around gitannexreinject--known, invoked in DESTANNEX, on the files in the git-annex objects
       dir of the SOURCEANNEX (usually SOURCEANNEX/.git/annex/objects).  After reinjecting files, the git-annex
       branch of SOURCEANNEX is updated so that it does not think the content is present there anymore.

       Suppose that you use annex-to-annex(1) to migrate files from ~/work to ~/old on your laptop, where each
       of ~/work and ~/old are git annexes.  Then on your USB backup drive, you can use this script to move the
       contents of migrated files from your clone of ~/work to your clone of ~/old:

           % annex-to-annex-reinject /media/spwhitton/usb/work /media/spwhitton/usb/old

Name

       annex-to-annex-reinject - use 'git annex reinject' to redo annex-to-annex

Options

       None.

See Also

git-annex-reinject(1), annex-to-annex(1), annex-to-annex-dropunused(1)

Synopsis

annex-to-annex-reinjectSOURCEANNEXDESTANNEX

Version

       version 0.008

See Also