From: Oleg Broytman Date: Mon, 5 Feb 2024 16:07:28 +0000 (+0300) Subject: Feat(update-remotes): Call `git set-date` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=61df96319b27b8c02d3745516c7c69e7543bfb10;p=git-scripts.git Feat(update-remotes): Call `git set-date` --- diff --git a/update-remotes b/update-remotes index 75f7f53..dca6f3f 100755 --- a/update-remotes +++ b/update-remotes @@ -19,10 +19,13 @@ fi git fetch current && { git pull --ff-only current master || git reset --hard current/master ; } && +git set-date && web="`git config --get --path remote.web.url`" && if [ -n "$web" ]; then git push --force web $branches fi && -cd "$current" && exec git pull origin +cd "$current" && +git pull origin && +exec git set-date