If core.experiments is set in .dvc/config and not committed, experiments support will end up being disabled when we do reset --hard during experiments checkout. This also affects .dvc/experiments being added to .gitignore.
Temporary workarounds:
- Use
dvc config --local when setting core.experiments true
git commit changes to .dvc/config after doing dvc config core.experiments true, and before running any other experiments related commands
If
core.experimentsis set in.dvc/configand not committed, experiments support will end up being disabled when we doreset --hardduringexperiments checkout. This also affects.dvc/experimentsbeing added to.gitignore.Temporary workarounds:
dvc config --localwhen settingcore.experiments truegit commitchanges to.dvc/configafter doingdvc config core.experiments true, and before running any other experiments related commands