$ git clone -n https://gitee.com/src-opencloudos-rpms/python-autopage.git /var/lib/mock/dist-oc9-build-51162-14595/root/chroot_tmpdir/scmroot/python-autopage Cloning into '/var/lib/mock/dist-oc9-build-51162-14595/root/chroot_tmpdir/scmroot/python-autopage'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-autopage * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0c9b3a6 import python-autopage-0.5.1-3.tl4