From 4abbb01843db63d7b28a6afe8d8cd19ba700b2a5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 14 Nov 2022 13:00:22 -0400 Subject: [PATCH] document that sync --cleanup only deletes branches --- doc/git-annex-sync.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/git-annex-sync.mdwn b/doc/git-annex-sync.mdwn index aac377f4a1..572abec586 100644 --- a/doc/git-annex-sync.mdwn +++ b/doc/git-annex-sync.mdwn @@ -175,7 +175,8 @@ have the same value as the currently checked out branch. * `--cleanup` Removes the local and remote `synced/` branches, which were created - and pushed by `git-annex sync`. + and pushed by `git-annex sync`. This option prevents all other syncing + activities. This can come in handy when you've synced a change to remotes and now want to reset your master branch back before that change. So you