Added a comment: Sync to remote master?
authordud225@35a1ee469f82f3a7eb1f2dce4ad453f5e47bdfd3 <dud225@web>
Wed, 19 Apr 2023 08:40:41 +0000 (08:40 +0000)
committeradmin <admin@branchable.com>
Wed, 19 Apr 2023 08:40:41 +0000 (08:40 +0000)
doc/git-annex-sync/comment_6_2c989d6d9f2ad2821db970cb3aed83c7._comment [new file with mode: 0644]

diff --git a/doc/git-annex-sync/comment_6_2c989d6d9f2ad2821db970cb3aed83c7._comment b/doc/git-annex-sync/comment_6_2c989d6d9f2ad2821db970cb3aed83c7._comment
new file mode 100644 (file)
index 0000000..0b03868
--- /dev/null
@@ -0,0 +1,18 @@
+[[!comment format=mdwn
+ username="dud225@35a1ee469f82f3a7eb1f2dce4ad453f5e47bdfd3"
+ nickname="dud225"
+ avatar="http://cdn.libravatar.org/avatar/5147563e50c475918474594d93be95c2"
+ subject="Sync to remote master?"
+ date="2023-04-19T08:40:41Z"
+ content="""
+I'm a bit confused by what is mentioned in this page:
+> To make working with such non-bare remotes easier, sync pushes not only local master to remote master, but also to remote synced/master
+
+but just above it's explained that by default Git does not allow to push to remote master:
+> Syncing with a non-bare remote will not normally update the remote's current branch with changes from the local repository.
+
+In addition the page https://git-annex.branchable.com/sync/ doesn't mention that the remote master branch is directly synchronized:
+> When you run git annex sync [...] Finally, it updates synced/master to reflect the new state of master, and pushes it out to each of the remotes.
+
+So I was wondering about the correctness of the first cited sentence.
+"""]]