$ git clone -n https://src.fedoraproject.org/rpms/kf6-ktexteditor.git /var/lib/mock/f41-build-860878-169221/root/chroot_tmpdir/scmroot/kf6-ktexteditor Cloning into '/var/lib/mock/f41-build-860878-169221/root/chroot_tmpdir/scmroot/kf6-ktexteditor'... $ git fetch origin dd62e8a2406a0c68d6a68e120b047c0cc69332c2:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kf6-ktexteditor * [new ref] dd62e8a2406a0c68d6a68e120b047c0cc69332c2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dd62e8a 6.8.0