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