From 0e4621ad87e0ab943c6eab85213a69defa79b293 Mon Sep 17 00:00:00 2001
From: Holger Brendebach <holger.brendebach@bfr.bund.de>
Date: Mon, 5 Sep 2022 22:47:44 +0200
Subject: [PATCH] update to git lfs

---
 README.md | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 5d2446b..b3882a8 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 # Test_Super_Repo
 
 This is a test repo. It is the super repo holding submodules.
-
+ 
 ## Getting started
 
 Get the newest version of git.
@@ -37,4 +37,26 @@ To update to the HEAD of the submodule, run:
 
 This causes the state `HEAD losgelöst von 9b4fbd0`
 
-If those updates to the submodule "payload/db1" are commited and pushed to test_super_repo, ORIG_HEAD wil be updated to the HEAD of "payload/db1"
\ No newline at end of file
+If those updates to the submodule "payload/db1" are commited and pushed to test_super_repo, ORIG_HEAD wil be updated to the HEAD of "payload/db1"
+
+## git LFS
+
+```shell
+$ wget https://gitlab.bfr.berlin/hbrendebach/test_sub_repo_1/-/raw/main/sample.bin -O sample.bin.wget
+$ find . -name "sample.bin*" -exec md5sum {} \;
+03fa92402aa166ec2a36f4014b8e78a8  ./payload/db1/sample.bin
+03fa92402aa166ec2a36f4014b8e78a8  ./sample.bin.wget
+```
+
+```shell
+$ wget https://gitlab.bfr.berlin/hbrendebach/test_sub_repo_1/-/raw/main/sample.psd -O sample.psd.wget
+$ find . -name "sample.psd*" -exec md5sum {} \;
+bf074b212163f4337466fee1b83ff4d4  ./payload/db1/sample.psd
+63cfc9bdf6b7db6006df6400dfb38ac7  ./sample.psd.wget
+$ cat payload/db1/sample.psd 
+version https://git-lfs.github.com/spec/v1
+oid sha256:cc8e17046b3d5e4727f9e35a813986c87c33f5caa0ada6c2ce4d4b4453a3553c
+size 1048576
+```
+
+**Take-Home-Message:** If you don't have [git-lfs installed](https://git-lfs.github.com/), pulled files only contain pointers.
-- 
GitLab