$ git clone -n https://gitee.com/fundawang/python-oauthlib.git /var/lib/mock/dist-an23-build-302911-66007/root/chroot_tmpdir/scmroot/python-oauthlib Cloning into '/var/lib/mock/dist-an23-build-302911-66007/root/chroot_tmpdir/scmroot/python-oauthlib'... $ git fetch origin 84589f08f4123e17eeba257aabf8138c70a4db0c:KOJI_FETCH_HEAD From https://gitee.com/fundawang/python-oauthlib * [new ref] 84589f08f4123e17eeba257aabf8138c70a4db0c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 84589f0 update