Day 3: More Git
November 25, 2024
git revert
ORTake your work space back in time temporarily with git checkout
.gitignore
to exclude files from version control.main
.png
, docx
, …)
Use regular Git for:
.csv
, .txt
, .R
, .md
, …) with incremental changesUse Git LFS for:
large binary files (.png
, .pdf
, .zip
, .docx
, …)
Files > 50 MB that
git lfs install
in the terminal.git lfs track "*.png"
to configure tracking in .gitattributes
..gitattributes
and large files as usual.git push
.LICENSE
file
usethis::use_*_license()
functions to add a license file.Please take 7 min to fill out the feedback form:
https://votingo.cedis.fu-berlin.de/survey/ARZC2L
See you in the next workshop 👋
More Git