$ git clone -n https://src.fedoraproject.org/rpms/kf5-frameworkintegration.git /var/lib/mock/f40-build-2376450-60422/root/chroot_tmpdir/scmroot/kf5-frameworkintegration Cloning into '/var/lib/mock/f40-build-2376450-60422/root/chroot_tmpdir/scmroot/kf5-frameworkintegration'... $ git fetch origin 450378bca317449e511cccebd9a1cf6f9b488d8d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kf5-frameworkintegration * [new ref] 450378bca317449e511cccebd9a1cf6f9b488d8d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 450378b replace LicenseRef-KDE-Accepted-* licenses