contrib: do a fetch all so we don't push force

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/1129/head
Sébastien Han 2016-11-28 16:46:30 +01:00
parent ace0ec4ebc
commit 4be9c52baf
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ function pull_origin {
function reset_hard_origin { function reset_hard_origin {
# let's bring everything back to normal # let's bring everything back to normal
git checkout $LOCAL_BRANCH git checkout $LOCAL_BRANCH
git fetch origin git fetch --all
git fetch --tags git fetch --tags
git reset --hard origin/master git reset --hard origin/master
} }