Skip to content

Commit

Permalink
Add FAQ with a question on git-annex and large files
Browse files Browse the repository at this point in the history
It would be my FAQ unless I do make it obviously available into my face in the documentation
  • Loading branch information
yarikoptic committed Nov 13, 2024
1 parent 50a711e commit 623c04a
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 623c04a

Please sign in to comment.