$ git clone -n https://src.fedoraproject.org/rpms/kompare.git /var/lib/mock/f40-build-793407-138981/root/chroot_tmpdir/scmroot/kompare Cloning into '/var/lib/mock/f40-build-793407-138981/root/chroot_tmpdir/scmroot/kompare'... $ git fetch origin 3f1b78b8899621d096e8afb0929a63cf24dbdd75:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kompare * [new ref] 3f1b78b8899621d096e8afb0929a63cf24dbdd75 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3f1b78b 24.02.0