File: git-annex_sync_here.mdwn

package info (click to toggle)
git-annex 7.20190129-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 56,292 kB
  • sloc: haskell: 59,105; sh: 1,255; makefile: 225; perl: 136; ansic: 44
file content (19 lines) | stat: -rw-r--r-- 610 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Hello,

git-annex does a lot of convenient stuff, also locally. With git-annex sync [remote-name] the synchronization can be restricted to a single remote.

However, I think being able to restrict sync to no remote at all, only doing the local stuff, would be helpful.

The natural syntax for me would be git-annex sync here. But it says:

    $ git-annex sync here
    commit  ok
    git-annex: there is no available git remote named "here"

I think a workaround would be to do:

    $ git-annex sync --no-push --no-pull

Is that correct?

Still, I think "git-annex sync here" would be a convenient shortcut.