$ git clone -n https://src.fedoraproject.org/rpms/kopeninghours.git /var/lib/mock/f40-build-1951038-25188/root/chroot_tmpdir/scmroot/kopeninghours Cloning into '/var/lib/mock/f40-build-1951038-25188/root/chroot_tmpdir/scmroot/kopeninghours'... $ git fetch origin a0a63691f4831401d7a1f15a71e869a33e6de021:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kopeninghours * [new ref] a0a63691f4831401d7a1f15a71e869a33e6de021 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a0a6369 24.05.2