KX Community

Find answers, ask questions, and connect with our KX Community around the world.

Home Forums KX Academy How to reset/reinitialise the sandbox in a topic

  • How to reset/reinitialise the sandbox in a topic

    Posted by carlsun1999 on April 4, 2024 at 11:46 am

    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

    mwoods replied 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • mwoods

    Administrator
    April 4, 2024 at 12:16 pm

    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


Log in to reply.