diff --git a/contrib/push-roles-to-ansible-galaxy.sh b/contrib/push-roles-to-ansible-galaxy.sh index a0f85cbd1..2f0a8b927 100755 --- a/contrib/push-roles-to-ansible-galaxy.sh +++ b/contrib/push-roles-to-ansible-galaxy.sh @@ -29,7 +29,7 @@ function pull_origin { function reset_hard_origin { # let's bring everything back to normal git checkout $LOCAL_BRANCH - git fetch origin + git fetch --all git fetch --tags git reset --hard origin/master }