From a78f1f371abb7ca84400f1705d84430da593fb05 Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Wed, 4 Jun 2025 22:47:30 +0300 Subject: [PATCH] Permit automatic git-sync on all branches --- .local/bin/sync-git-repos | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/sync-git-repos b/.local/bin/sync-git-repos index 899e3f0..c6d5a91 100755 --- a/.local/bin/sync-git-repos +++ b/.local/bin/sync-git-repos @@ -11,8 +11,8 @@ list_repos () { sync_repo () { repo=$1 - echo git-sync "${repo}" - git-sync "${repo}" + echo git-sync -s "${repo}" + ( cd "${repo}" && git-sync -s sync ) echo }