How to reset/reinitialise the sandbox in a topic

https://learninghub.kx.com/forums/topic/how-to-reset-reinitialise-the-sandbox-in-a-topic

Hi, I have done most of the quick exercises built into the sandbox of a topic, and Jupyter seems to remember my input.

If I were to redo these exercises as if it was a clean sheet/never done before, how do i reset these ipynb 'sheets'?

many thanks!

Carl

You can revert to the original using git to discard your changes, making sure you shut down your notebook first.

Steps:

1. Shut down notebook kernal and the notebook tab - either by right clicking or in the second icon in left hand menu (see image)

2. Open a terminal - click the + symbol, select Terminal and run git status and git restore on any notebooks that have changes you wish to revert

3. Reopen notebook - should no longer see your changes