added docs for git-remote-annex special remote contents

Designed with the help of Timothy Sanders and Michael Hanke
at Distribits 2024
This commit is contained in:
Joey Hess 2024-04-06 05:28:29 -04:00
parent 974455ea33
commit 9b116870a6
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,24 @@
This adds a GIT-- object type to git-annex.
GIT--manifest is the manifest
GIT--hash is a git bundle
# format of the manifest file
An ordered list of bundle keys, one per line.
# fetching
1. download manifest
2. download each listed GIT bundle object that we don't have
3. fetch from bundles in timestamp order
# pushing
1. create git bundle, hash to calculate GIT bundle object name
2. upload GIT bundle object
3. download current manifest
4. add to manifest with current time, and upload