1git-annex-sync(1)           General Commands Manual          git-annex-sync(1)
2
3
4

NAME

6       git-annex-sync - synchronize local repository with remotes
7

SYNOPSIS

9       git annex sync [remote ...]
10

DESCRIPTION

12       This command synchronizes the local repository with its remotes.
13
14       This  command first commits any local changes to files that have previ‐
15       ously been added to the repository. Then it does the equivilant of git-
16       annex-pull(1) followed by git-annex-push(1).
17
18       However,  unlike those commands, this command does not transfer annexed
19       content by default. That will change in a future version of git-annex,
20

OPTIONS

22       --content, --no-content, -g
23
24              The --content option causes the content of annexed files to also
25              be pulled and pushed.
26
27              The  --no-content  and  -g  options cause the content of annexed
28              files to not be pulled and pushed.
29
30              The annex.synccontent configuration can be set to true  to  make
31              --content be enabled by default.
32
33       --content-of=path -C path
34              This  option  causes  the  content of annexed files in the given
35              path to also be pulled and pushed.
36
37              This option can be repeated multiple times with different paths.
38
39       --commit, --no-commit
40              A commit is done by default (unless annex.autocommit is  set  to
41              false).
42
43              Use --no-commit to avoid committing local changes.
44
45       --message=msg -m msg
46              Use this option to specify a commit message.
47
48       --pull, --no-pull
49              Use this option to disable pulling.
50
51              When  remote.<name>.annex-sync  is set to false, pulling is dis‐
52              abled for that remote, and using --pull will not enable it.
53
54       --push, --no-push
55              Use this option to disable pushing.
56
57              When remote.<name>.annex-sync is set to false, pushing  is  dis‐
58              abled for that remote, and using --push will not enable it.
59
60       Also all options supported by git-annex-pull(1) and
61              git-annex-push(1) can be used.
62
63       Also the git-annex-common-options(1) can be used.
64

SEE ALSO

66       git-annex(1)
67
68       git-annex-pull(1)
69
70       git-annex-push(1)
71
72       git-annex-assist(1)
73

AUTHOR

75       Joey Hess <id@joeyh.name>
76
77                                                             git-annex-sync(1)
Impressum