From ab48988c1fa84fe619f36809c15f09acaf331489 Mon Sep 17 00:00:00 2001 From: mario Date: Thu, 18 May 2017 13:21:27 +0000 Subject: --- doc/forum/git-annex_sync_here.mdwn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/forum/git-annex_sync_here.mdwn diff --git a/doc/forum/git-annex_sync_here.mdwn b/doc/forum/git-annex_sync_here.mdwn new file mode 100644 index 000000000..9aa91ed2f --- /dev/null +++ b/doc/forum/git-annex_sync_here.mdwn @@ -0,0 +1,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. -- cgit v1.2.3