aboutsummaryrefslogtreecommitdiff
path: root/SETUP.md
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-05-25 13:01:15 +0200
committerJonas Smedegaard <dr@jones.dk>2024-05-25 13:01:15 +0200
commitb28a02e184084f041cfbc3b09eddd146a233fe3c (patch)
treef02a935c820cbdefabad238a819fd387e250452e /SETUP.md
parentcbd4703eb81b583d9a9e91227067368491b88aae (diff)
modernize setup
Diffstat (limited to 'SETUP.md')
-rw-r--r--SETUP.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/SETUP.md b/SETUP.md
index 7097c90..36b5400 100644
--- a/SETUP.md
+++ b/SETUP.md
@@ -37,15 +37,14 @@ git annex init
To use git-annex only for large files (git for smaller ones),
add e.g. the following to file `.gitattributes`:
-```gitconfig
-* annex.largefiles=((largerthan=100kb)and(not(mimetype=text/*)))
-*.svg annex.largefiles=nothing
+```shell
+git config annex.largefiles 'largerthan=100kb and not (mimetype=text/*)'
```
Finally, save all content:
```shell
-git annex add .
+git add .
git commit -m "Initial commit"
```