trying to add a file via 'git annex'

This commit is contained in:
Jeff Carr 2022-12-31 10:25:43 -06:00
parent 47341ea50f
commit 7bb98cfc99
2 changed files with 18 additions and 0 deletions

View File

@ -1,13 +1,30 @@
all:
git lfs track
git lfs ls-files
init-annex:
git annex init
annex-add:
git annex add VisionFive2/starfive-jh7110-VF2-VF2_515_v2.3.0-55.img.bz2
init-lfs:
git lfs install
git lfs track "*.img"
git lfs track "*.img.gz"
git lfs track "*.img.bz2"
git add .gitattributes
git config lfs.https://git.wit.org/riscv/riscv-images.git/info/lfs.locksverify true
add-first-image:
git add VisionFive2/starfive-jh7110-VF2_515_v2.5.0-69.img.bz2
git commit -a
single-file:
git lfs pull --include="model_00013-of-00072.safetensors"
fdisk:
fdisk -l VisionFive2/starfive-jh7110-VF2-VF2_515_v2.3.0-55.img
dd-sda:
dd bs=10M status=progress oflag=dsync of=/dev/sda if=VisionFive2/starfive-jh7110-VF2-VF2_515_v2.3.0-55.img

View File

@ -0,0 +1 @@
../.git/annex/objects/W3/7p/SHA256E-s5967506487--d5e0ed56d5b269e6bd2afa277e0b6422fca2f3fc3c1e3526bf3fbcb384bfc857.img.bz2/SHA256E-s5967506487--d5e0ed56d5b269e6bd2afa277e0b6422fca2f3fc3c1e3526bf3fbcb384bfc857.img.bz2