From 59fba9128f608977ce1668915b48cbb859acaf97 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 17 Jan 2021 14:13:27 +0100 Subject: [PATCH] updated by /home/nico/bin/sync-all-repos --- sync-all-repos | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sync-all-repos b/sync-all-repos index 930cc9a..a0cb304 100755 --- a/sync-all-repos +++ b/sync-all-repos @@ -25,3 +25,13 @@ for repo in ~/.ctt \ git pull git push done + +# Step 2: pull/push all other repos in ~/vcs/ +# We cannot commit as we do not know the state, but we +# can ensure everything committed before is pushed out + +for repo in ~/vcs/*; do + cd ${repo} + git pull + git push +done