From: Hugo Villeneuve Date: Wed, 15 Nov 2017 05:03:48 +0000 (-0500) Subject: Replace git remote update with fetch X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;ds=inline;h=4d4a2816520cc25738a315046d42d35f0225cbf9;hp=d240fda92b8bd822645ebeca8831d204746376da;p=hvutilities.git Replace git remote update with fetch --- diff --git a/scripts/git-project-fetch.sh b/scripts/git-project-fetch.sh index 483e2ff..4f248b7 100755 --- a/scripts/git-project-fetch.sh +++ b/scripts/git-project-fetch.sh @@ -37,7 +37,7 @@ remote_update_repo() echo "Repo ${r}:" pushd "${r}" 1> /dev/null - git remote update 1> /dev/null + git fetch --all --prune 1> /dev/null vco master git pull --ff-only vco latest