$ git clone -n https://src.fedoraproject.org/rpms/kf6-ktexteditor.git /var/lib/mock/f42-build-862126-170665/root/chroot_tmpdir/scmroot/kf6-ktexteditor Cloning into '/var/lib/mock/f42-build-862126-170665/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