File: comment_9_849883b7cc05bfcb01914d8737098010._comment

package info (click to toggle)
git-annex 8.20210223-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 68,764 kB
  • sloc: haskell: 70,359; javascript: 9,103; sh: 1,304; makefile: 212; perl: 136; ansic: 44
file content (18 lines) | stat: -rw-r--r-- 743 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[[!comment format=mdwn
 username="http://joeyh.name/"
 ip="209.250.56.87"
 subject="comment 9"
 date="2013-12-12T17:54:55Z"
 content="""
@Dav what kind of url does the upstream remote have? Perhaps it would be sufficient to make sync skip trying to push to git:// and http[s]:// remotes. Both are unlikely to accept pushes and in the cases where they do accept pushes it would be fine to need a manual `git push`. 

Anyway, you can already configure which remotes get synced with. From the man page:

<pre>
       remote.&lt;name&gt;.annex-sync
              If set to false, prevents  git-annex  sync  (and  the  git-annex
              assistant) from syncing with this remote.
</pre>

So `git config remote.upstream.annex-sync=false`
"""]]