$ git clone -n https://gitee.com/fundawang/samba.git /var/lib/mock/dist-an23-build-295418-65781/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-an23-build-295418-65781/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin 96e67cc772a07e1d3539f453529d8cab3e5c0b6e:KOJI_FETCH_HEAD From https://gitee.com/fundawang/samba * [new ref] 96e67cc772a07e1d3539f453529d8cab3e5c0b6e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 96e67cc 4.18.6