File: comment_1_8ed0014e53a7ab49d76c072de074adda._comment

package info (click to toggle)
git-annex 10.20230126-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 69,344 kB
  • sloc: haskell: 74,654; javascript: 9,103; sh: 1,304; makefile: 203; perl: 136; ansic: 44
file content (22 lines) | stat: -rw-r--r-- 832 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[[!comment format=mdwn
 username="Chel"
 avatar="http://cdn.libravatar.org/avatar/a42feb5169f70b3edf7f7611f7e3640c"
 subject="comment 1"
 date="2020-02-03T22:36:59Z"
 content="""
If I am not mistaken, you need to:

1) manually fetch `git-annex` from everywhere,

2) not have the `synced/master` branch (or it should be an ancestor of `master`),

3) use [[git-annex-merge]] or `git annex sync --no-pull --no-push` (maybe just `--no-pull` is enough),

4) manually push `git-annex` back to every other repository.

Other remarks:

- You can use `git annex sync --cleanup` to delete all `synced/*` branches.
- Or you can check out another branch and run `git annex sync` — it will fetch all branches, but merge only the current.
- I don't fully understand how `synced/git-annex` works, so maybe the real answer is more complex.
"""]]