$ git clone -n https://gitee.com/src-opencloudos-rpms/python-oauthlib.git /var/lib/mock/dist-oc8-build-257400-84721/root/chroot_tmpdir/scmroot/python-oauthlib Cloning into '/var/lib/mock/dist-oc8-build-257400-84721/root/chroot_tmpdir/scmroot/python-oauthlib'... $ git fetch origin be36807d4ca7302fd6ae370d13d97ab8de9ebb5f:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-oauthlib * [new ref] be36807d4ca7302fd6ae370d13d97ab8de9ebb5f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at be36807 import python-oauthlib-2.1.0-2.tl3