comment and improve docs
authorJoey Hess <joeyh@joeyh.name>
Wed, 19 Apr 2023 16:20:26 +0000 (12:20 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 19 Apr 2023 16:20:26 +0000 (12:20 -0400)
doc/git-annex-sync/comment_7_8f9a5457020bed293e9a93ccc9461a65._comment [new file with mode: 0644]
doc/sync.mdwn

diff --git a/doc/git-annex-sync/comment_7_8f9a5457020bed293e9a93ccc9461a65._comment b/doc/git-annex-sync/comment_7_8f9a5457020bed293e9a93ccc9461a65._comment
new file mode 100644 (file)
index 0000000..3917322
--- /dev/null
@@ -0,0 +1,10 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""Re: Sync to remote master?"""
+ date="2023-04-19T16:17:11Z"
+ content="""
+The push to remote master will typically fail in a non-bare repository
+(it is possible to configure one to allow it). The push to synced/master
+will then succeed. Then when sync is later run in that repository, it will
+merge synced/master into master.
+"""]]
index cddccd11243aa78a56f727150cf372a7e3a1a554..eb86133f46f113bde9d763832b9c69645b882fe5 100644 (file)
@@ -29,6 +29,9 @@ to every other repository; as long as the graph of repositories is
 connected, and `git annex sync` is run from time to time on each, a given
 change, made anywhere, will eventually reach every other repository.
 
+(`git-annex sync` will also attempt to push the master branch to remotes, 
+which does work for bare repositories.)
+
 The workflow for using `git annex sync` is simple:
 
 * Make some changes to files in the repository, using `git-annex`,