Added a comment: adding all files or only in current directory?

This commit is contained in:
nobodyinperson 2023-05-03 14:23:05 +00:00 committed by admin
parent 327bd6bad0
commit bc1410100b

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="nobodyinperson"
avatar="http://cdn.libravatar.org/avatar/736a41cd4988ede057bae805d000f4f5"
subject="adding all files or only in current directory?"
date="2023-05-03T14:23:04Z"
content="""
`git annex add` only adds files in the current directory and below and has no flag to do a `git add -A` equivalent. For the purpose of making `git annex sync` also adding all files (e.g. with `git annex sync --add` or with prior `git annex config --set annex.syncadd true`), such an `git annex add --all|-A` option would be handy (which would also be used by `git annex sync --add`). It would also make `git annex add` more consistent with `git add`.
"""]]