X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=blobdiff_plain;f=update-remotes;h=b164567bc369ac2ddc58d733bf22bb1a85b654dc;hp=75f7f53568d3a757144844690a350e68f330ff15;hb=HEAD;hpb=fe99855e1c76f5699a12eae8a5bab618a1e59e1e 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