When I save a certain Python notebook where I have selected Hide Code and Hide Results on certain cells, those conditions persist. For example, when I come back the next day in a new session, the hidden material is still hidden.
When the notebook is copied into a new location by a CI/CD process after I have merged it into my main branch in git, the Hide actions seem to have been forgotten by, or never were known to, the copy of the notebook. That is, when I open the copy, the Code and the Results in those cells is now visible.
Is there a way to save the Hide actions more durably, so they would still be in force even in a copy of the notebook?