$ git clone -n https://src.fedoraproject.org/rpms/katomic.git /var/lib/mock/f42-build-863940-172034/root/chroot_tmpdir/scmroot/katomic Cloning into '/var/lib/mock/f42-build-863940-172034/root/chroot_tmpdir/scmroot/katomic'... $ git fetch origin 37b9400b02488c73d6c12a1181989106b3afffe1:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/katomic * [new ref] 37b9400b02488c73d6c12a1181989106b3afffe1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 37b9400 24.12.0