$ git clone -n https://src.fedoraproject.org/rpms/konsole.git /var/lib/mock/f40-build-803091-144174/root/chroot_tmpdir/scmroot/konsole Cloning into '/var/lib/mock/f40-build-803091-144174/root/chroot_tmpdir/scmroot/konsole'... $ git fetch origin a25dde0e8f94b10143531ebb04730f0365e3ada1:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/konsole * [new ref] a25dde0e8f94b10143531ebb04730f0365e3ada1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a25dde0 24.02.1