$ git clone -n https://gitee.com/src-opencloudos-rpms/samba.git /var/lib/mock/dist-oc9-build-71961-47618/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-oc9-build-71961-47618/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/samba * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 34a8e0c import samba-4.19.4-2.tl4