mirror of https://github.com/ceph/ceph-ansible.git
contrib: do a fetch all so we don't push force
Signed-off-by: Sébastien Han <seb@redhat.com>pull/1129/head
parent
ace0ec4ebc
commit
4be9c52baf
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue