From 48325750438ef077b28de478bf3dc7e27b7cab8f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 25 May 2017 13:43:20 -0400 Subject: improve docs, mention git config receive.denyCurrentBranch updateInstead --- doc/git-annex-sync.mdwn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/git-annex-sync.mdwn') diff --git a/doc/git-annex-sync.mdwn b/doc/git-annex-sync.mdwn index cabe5fed9..a27d31565 100644 --- a/doc/git-annex-sync.mdwn +++ b/doc/git-annex-sync.mdwn @@ -26,8 +26,9 @@ versions of a file have been committed, both will be added to the tree, under different filenames. For example, file "foo" would be replaced with "foo.somekey" and "foo.otherkey". -Note that syncing with a remote will not update the remote's working -tree with changes made to the local repository. However, those changes +Note that syncing with a remote will not normally update the remote's working +tree with changes made to the local repository. (Unless it's configured +with receive.denyCurrentBranch=updateInstead.) However, those changes are pushed to the remote, so they can be merged into its working tree by running "git annex sync" on the remote. -- cgit v1.2.3