summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-27 13:08:32 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-27 13:08:32 -0400
commit048b64024a14feb0d9ed26abe97c542cfacbc8af (patch)
treeff17714706a56f2af7b7ef8f550070344fd6b0ff /doc/git-annex.mdwn
parent051c68041b5b7a58e7080403e389d0641691edfd (diff)
sync: Automatically resolves merge conflicts.
untested, but it compiles :)
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 39fad0488..c52a5f3bf 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -135,6 +135,11 @@ subdirectories).
commands to do each of those steps by hand, or if you don't want to
worry about the details, you can use sync.
+ Merge conflicts are automatically resolved by sync. When two conflicting
+ 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
are pushed to the remote, so can be merged into its working tree