$ git clone -n https://gitee.com/src-opencloudos-rpms/perftest /var/lib/mock/dist-oc8-build-58091-15890/root/chroot_tmpdir/scmroot/perftest Cloning into '/var/lib/mock/dist-oc8-build-58091-15890/root/chroot_tmpdir/scmroot/perftest'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/perftest * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8ef2b70 import perftest-23.04.0.0.23-2.tl3