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