$ git clone -n https://gitee.com/src-opencloudos-rpms/samba /var/lib/mock/dist-oc8-build-57658-15688/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-oc8-build-57658-15688/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/samba * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6c43636 import samba-4.18.6-2.el8_9