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