$ git clone -n https://gitee.com/src-opencloudos-rpms/samba.git /var/lib/mock/dist-oc8-build-117774-68462/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-oc8-build-117774-68462/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin 0cd892531512e3ff7ee3f3f884bb18dab4848a72:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/samba * [new ref] 0cd892531512e3ff7ee3f3f884bb18dab4848a72 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0cd8925 import samba-4.19.4-5.tl3