If I use git-annex with a centralized bare git repository as described here, will the Assistant automatically git push
and git pull
the master and git-annex branches? Or does it basically just do a git annex sync
?
If I use git-annex with a centralized bare git repository as described here, will the Assistant automatically git push
and git pull
the master and git-annex branches? Or does it basically just do a git annex sync
?
The assistant will push, pull, and merge the master and git-annex branches (which is exactly what git annex sync does).
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.
When I make a change in the repository and run a plain old
git annex sync
, it pushes out to any other available annex, but not to my bare hub. If I rungit annex sync
a second time it tells me that I'm ahead of the hub:In order to push the changes out to the hub I have to do
git push --all
.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
git annex sync
does not pull the changes in from the hub. I have to dogit pull
to get them.Do I have something setup incorrectly?