$ git clone -n https://git.cclinux.org/stage/rpms/freerdp.git /var/lib/mock/dist-circle8-build-119133-83389/root/chroot_tmpdir/scmroot/freerdp Cloning into '/var/lib/mock/dist-circle8-build-119133-83389/root/chroot_tmpdir/scmroot/freerdp'... $ git fetch origin 8b17d54bf0b7f282be7220f95b9e6549716e2efd:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/freerdp * [new ref] 8b17d54bf0b7f282be7220f95b9e6549716e2efd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8b17d54 import freerdp-2.11.7-1.el8_10