$ git clone -n https://gitee.com/src-opencloudos-rpms/catatonit.git /var/lib/mock/dist-oc9-build-69576-47308/root/chroot_tmpdir/scmroot/catatonit Cloning into '/var/lib/mock/dist-oc9-build-69576-47308/root/chroot_tmpdir/scmroot/catatonit'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/catatonit * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 348c9c8 import catatonit-0.2.0-1.tl4