$ git clone -n https://src.fedoraproject.org/rpms/kontact.git /var/lib/mock/f38-build-722206-98749/root/chroot_tmpdir/scmroot/kontact Cloning into '/var/lib/mock/f38-build-722206-98749/root/chroot_tmpdir/scmroot/kontact'... $ git fetch origin b5dcff1403baa17a1e71ed2ffecf70f60b4b9d27:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kontact * [new ref] b5dcff1403baa17a1e71ed2ffecf70f60b4b9d27 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b5dcff1 23.04.1