This commit is contained in:
Joey Hess 2022-11-14 12:59:57 -04:00
parent 80ad41f9f0
commit f9780bd4d5
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,17 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2022-11-14T16:45:31Z"
content="""
`git-annex sync --cleanup` does not do any of the pushing and pulling that
`git-annex sync` does without the option. So you would want to run the
command once without the option, and then once with it.
Besides being extra work, `git-annex sync --cleanup` can delete sync
branches that have not yet been merged. That's the point of it after all;
the docs for it discuss a situation where you would want it to do that. But
usually you do want to let the sync branches be merged.
My recommendation would be to not use the option unless you actually need
it.
"""]]