forum/git-annex-sync with bitbucketgit-annexhttp://git-annex.branchable.com/forum/git-annex-sync_with_bitbucket/git-annexikiwiki2019-06-20T02:37:27ZSet remote.<name>.annex-ignorehttp://git-annex.branchable.com/forum/git-annex-sync_with_bitbucket/comment_1_b95e03d119c83ac061c470801b157d55/kyle2019-06-19T14:18:19Z2019-06-19T14:18:19Z
I think in this case you should set remote.origin.annex-ignore to true.
comment 2http://git-annex.branchable.com/forum/git-annex-sync_with_bitbucket/comment_2_31f7eae218447a17f316a8d13dd97ca0/Ilya_Shlyakhter2019-06-19T16:51:31Z2019-06-19T16:51:31Z
<p>But I do want git-annex-sync to sync the git-annex branch with that remote.
Normally, git-annex deals with the case of git remotes that don't support git-annex-shell without giving an error.</p>
annex-ignore and syncinghttp://git-annex.branchable.com/forum/git-annex-sync_with_bitbucket/comment_3_eddbd42891a1877148a8920f19fb780e/kyle2019-06-20T02:37:27Z2019-06-20T02:37:26Z
<blockquote><p>But I do want git-annex-sync to sync the git-annex branch with that remote.</p></blockquote>
<p>When annex-ignore is true, git-annex won't try to store content there, but <code>git annex sync</code> should still sync with the remote. From the <code>man git-annex</code></p>
<pre><code>This does not prevent git-annex sync (or the git-annex assistant) from
syncing the git repository to the remote.
</code></pre>
<p>Setting <code>annex-sync=false</code> on the other hand will prevent <code>git annex sync</code> from syncing the remote unless it is explicitly named.</p>
<blockquote><p>Normally, git-annex deals with the case of git remotes that don't support git-annex-shell without giving an error.</p></blockquote>
<p>AFAIK it deals with this by automatically setting annex-ignore on failure (fetching first to make sure it is not a connectivity issue). I don't know why the error is getting through in this case.</p>