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