$ git clone -n https://src.fedoraproject.org/rpms/kmahjongg.git /var/lib/mock/f38-build-716585-96137/root/chroot_tmpdir/scmroot/kmahjongg Cloning into '/var/lib/mock/f38-build-716585-96137/root/chroot_tmpdir/scmroot/kmahjongg'... $ git fetch origin 40aa8144cd4f88631515256c99e6c834bbe9903e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kmahjongg * [new ref] 40aa8144cd4f88631515256c99e6c834bbe9903e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 40aa814 23.04.1