From: Oleg Broytman Date: Thu, 5 Sep 2024 15:38:59 +0000 (+0300) Subject: Fix(update-remotes): Fetch named branches X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=acdea47d7f5d3ab1a3e24a97e5317f09be134560;p=git-scripts.git Fix(update-remotes): Fetch named branches --- diff --git a/update-remotes b/update-remotes index cf09215..05ce939 100755 --- a/update-remotes +++ b/update-remotes @@ -22,7 +22,7 @@ elif [ -z "$current" ]; then exit 1 fi -git fetch current +git fetch current master $branches { git pull --ff-only current master || git reset --hard current/master ; } git set-date