sudo rm -rf /
sudo rm -rf /
actually works but has the inelegance of ending up with an error message
pip install -e
) are going to work while the separate packages haven't actually been created
git reflog
to find the state before you did the rebase.
reflog
"/home/sylvain/ipython/IPython/nbformat/validator.py", line 71, in get_validator IOError: [Errno 2] No such file or directory: '/home/sylvain/ipython/IPython/nbformat/v4/nbformat.v4.schema.json'
a638031 HEAD@{12}: rebase: s/IPython.kernel/jupyter_client in jupyter_client
f64f916 HEAD@{13}: rebase: move client code from IPython.kernel to jupyter_client
865ed70 HEAD@{14}: rebase: checkout master
e72a229 HEAD@{15}: commit: your last commit <- this is the last state before rebase
IPython/nbformat/validator.py
git clean
for the removed files.