Git Large File Storage
Large scanner datafiles (i.e. converted pcapng-files) for test and development of sick_scan_xd have been added using the “Git Large File Storage” (git lfs).
Run the following steps to install git lfs:
Download and install git lfs from https://git-lfs.github.com/
Integrate to git by running
git lfs install
Add folder “scandata” with large files:
git add ./test/emulator/scandata/readme.txt git commit -m "added scandata folder" git push
Add large files to folder “scandata” using git lfs:
git lfs track "./test/emulator/scandata/*.*" git add .gitattributes
Note: If your current working directory is on a Windows-drive generated by subst, change to the original folder first.
Add, commit and push the new files normally:
git add ./test/emulator/scandata/*.* git commit -m "added scandata files using git lfs" git push
Test by cloning sick_scan_xd into a new folder:
cd /tmp git clone https://github.com/michael1309/sick_scan_xd
Note: Use
git clone
to make a local copy of the git lfs files. Downloading the zip file https://github.com/SICKAG/sick_scan_xd/archive/refs/heads/main.zip just creates link-files.
Helpful links:
https://git-lfs.github.com/
https://docs.github.com/en/github/managing-large-files/versioning-large-files/configuring-git-large-file-storage