This commit is contained in:
Joey Hess 2018-08-06 11:54:03 -04:00
parent df72b2584a
commit 634aefebd4
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,17 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2018-08-06T15:47:56Z"
content="""
This came up again in <https://git-annex.branchable.com/tips/local_caching_of_annexed_files/>
and there it was sufficient to configure remote.name.fetch so that no
branches were fetched from the cache remote.
Approach #3 can be implemented using:
fetch = refs/heads/master:refs/remotes/private/nomerge/master
This prevents git-fetch from fetching the git-annex branch, and
it makes the remote master banch fetch into a name that
git-annex won't automatically merge into master.
"""]]