$ git clone -n https://gitee.com/Weisson/swtpm_1.git /var/lib/mock/dist-an23.3-build-417666-72869/root/chroot_tmpdir/scmroot/swtpm_1 Cloning into '/var/lib/mock/dist-an23.3-build-417666-72869/root/chroot_tmpdir/scmroot/swtpm_1'... $ git fetch origin 920ce2056f6079d8559584b67d73a8f1fdf050d3:KOJI_FETCH_HEAD From https://gitee.com/Weisson/swtpm_1 * [new ref] 920ce2056f6079d8559584b67d73a8f1fdf050d3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 920ce20 Refer to CentOS Stream swtpm-0.9.0-1 (marcandre.lureau@redhat.com)