$ git clone -n https://src.fedoraproject.org/rpms/kcalc.git /var/lib/mock/f40-build-2381513-60448/root/chroot_tmpdir/scmroot/kcalc Cloning into '/var/lib/mock/f40-build-2381513-60448/root/chroot_tmpdir/scmroot/kcalc'... $ git fetch origin f599383f3fe2100ddada0fcd6d133ed595a3a265:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kcalc * [new ref] f599383f3fe2100ddada0fcd6d133ed595a3a265 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f599383 24.01.95