Skip to content
Snippets Groups Projects
Commit 0e4621ad authored by Holger Brendebach's avatar Holger Brendebach
Browse files

update to git lfs

parent 6c4b0d21
Branches main
No related tags found
No related merge requests found
# 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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment