From b28a02e184084f041cfbc3b09eddd146a233fe3c Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 25 May 2024 13:01:15 +0200 Subject: modernize setup --- SETUP.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'SETUP.md') 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" ``` -- cgit v1.2.3