Skip to content

Commit

Permalink
Merge pull request #225 from con/enh-annex
Browse files Browse the repository at this point in the history
Add FAQ with a question on git-annex and large files
  • Loading branch information
asmacdo authored Nov 13, 2024
2 parents 50a711e + 623c04a commit 6b89dea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,11 @@ options:
```
<!-- END EXTRAS HELP -->
## FAQs
### git-annex add keeps adding duct logs directly into git
By default, [git-annex](https://git-annex.branchable.com/) treats all dotfiles, and files under directories starting with a `.` as "small" regardless of `annex.largefiles` setting [[ref: an issue describing the logic](https://git-annex.branchable.com/bugs/add__58___inconsistently_treats_files_in_dotdirs_as_dotfiles/?updated#comment-efc1f2aa8f46e88a8be9837a56cfa6f7)].
It is necessary to set `annex.dotfiles` variable to `true` to make git-annex treat them as regular files and thus subject to `annex.largefiles` setting [[ref: git-annex config](https://git-annex.branchable.com/git-annex-config/)].
Could be done the repository (not just specific clone, but any instance since records in `git-annex` branch) wide using `git annex config --set annex.dotfiles true`.

0 comments on commit 6b89dea

Please sign in to comment.