forum/Push/Pull with the Assistantgit-annexhttp://git-annex.branchable.com/forum/Push__47__Pull_with_the_Assistant/git-annexikiwiki2013-11-27T22:47:37Zcomment 1http://git-annex.branchable.com/forum/Push__47__Pull_with_the_Assistant/comment_1_f7b63d379c2d21794adf8658f546f8a7/joeyh.name2013-11-27T22:47:37Z2012-11-17T20:25:03Z
<p>The assistant will push, pull, and merge the master and git-annex branches (which is exactly what git annex sync does).</p>
<p>Additionally, the assistant will transfer file contents to the bare repository, either to make it have a copy of everything, or as needed to transfer to other repositories that also use that bare repository. This behavior is configurable using the webapp.</p>
comment 2http://git-annex.branchable.com/forum/Push__47__Pull_with_the_Assistant/comment_2_aec8cc20576e7ffd5a8be4348d1a0073/annexuser2013-11-27T22:47:37Z2012-11-17T20:44:53Z
<p>When I make a change in the repository and run a plain old <code>git annex sync</code>, it pushes out to any other available annex, but not to my bare hub. If I run <code>git annex sync</code> a second time it tells me that I'm ahead of the hub:</p>
<pre><code>commit
# On branch master
# Your branch is ahead of 'hub/master' by 1 commit.
#
nothing to commit, working directory clean
ok
</code></pre>
<p>In order to push the changes out to the hub I have to do <code>git push --all</code>.</p>
<p>The same thing with pulling. If I make a change on the annex, push it to the hub, and then go to a second annex that knows about the hub but not the first annex, a <code>git annex sync</code> does not pull the changes in from the hub. I have to do <code>git pull</code> to get them.</p>
<p>Do I have something setup incorrectly?</p>