$ git clone -n https://src.fedoraproject.org/rpms/ksirk.git /var/lib/mock/f40-build-803123-144180/root/chroot_tmpdir/scmroot/ksirk Cloning into '/var/lib/mock/f40-build-803123-144180/root/chroot_tmpdir/scmroot/ksirk'... $ git fetch origin 9aa5e1ce52e49b8db32846610740cc3a5a7c9d96:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ksirk * [new ref] 9aa5e1ce52e49b8db32846610740cc3a5a7c9d96 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9aa5e1c 24.02.1