$ git clone -n https://gitee.com/src-opencloudos-rpms/samba.git /var/lib/mock/dist-oc9-build-246114-83427/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-oc9-build-246114-83427/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin 9abdfe825b15f03a74340eedaba2215dfe4823a8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/samba * [new ref] 9abdfe825b15f03a74340eedaba2215dfe4823a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9abdfe8 import samba-4.19.4-11.tl4