aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar git-annex.branchable.com.20170819@a1e3e0fb4b4d8d6d0cc766d28f5e375df29d8249 <git-annexbranchablecom20170819@web>2017-09-18 14:28:21 +0000
committerGravatar admin <admin@branchable.com>2017-09-18 14:28:21 +0000
commit49cde65912e1bf90b1b4175c64f307c5fa4e2d7d (patch)
tree624198a733d7e3c4559fffd840aebefd9d5bbc27
parent5d3d9b0384959f6997d6181fa69b2da9df44898a (diff)
-rw-r--r--doc/forum/sync_remote_repo_on_local_sync_upstream.mdwn21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/forum/sync_remote_repo_on_local_sync_upstream.mdwn b/doc/forum/sync_remote_repo_on_local_sync_upstream.mdwn
new file mode 100644
index 000000000..c2b566cc5
--- /dev/null
+++ b/doc/forum/sync_remote_repo_on_local_sync_upstream.mdwn
@@ -0,0 +1,21 @@
+I am looking for a short cut for my workflow where I sync a (somewhat) central repo and a few client repos.
+
+So, I sync upstream
+
+ laptop > git annex sync --content
+
+and ssh to the central repo and run another sync
+
+ server > git annex sync
+
+to bring it up to date so that I can sync/pull it again from my desktop.
+
+Is there an easy way to script/do both steps in one for different protocols? E.g., update a ssh repo and a USB-drive repo when syncing on the local one?
+
+At the moment, I would try to check for all known remotes
+
+ > git remote -v
+
+and depending on the protocol ssh/cd into each for triggering a sync.
+
+