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