$ git clone -n https://gitee.com/src-opencloudos-rpms/python-deprecated.git /var/lib/mock/dist-oc9-build-71587-47577/root/chroot_tmpdir/scmroot/python-deprecated Cloning into '/var/lib/mock/dist-oc9-build-71587-47577/root/chroot_tmpdir/scmroot/python-deprecated'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-deprecated * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f876947 import python-deprecated-1.2.14-1.tl4