Open shayanhoss opened 5 years ago
Is this something possible to do without cloning the branch or master to a different folder?
In general, no (this isn't related to Jupyter, any process that reads files will have this issue). If you want to use two different versions of a file at the same time, those two versions need to live in different places. Two clones of the same repo would be the main way I would do that if both are active development branches. The other would be to perform an 'install', which copies files into an env. Then you could have a 'stable' version that's installed and a 'dev' version that's referenced from the repo.
Thanks! That makes sense
I have a repo I have cloned from git that I routinely work from and edit in Jupyter. I also have a branch of the same repo. When I am in the branch and open a jupyter notebook, I have wanted to switch to the master and open a separate notebook from master. When I tried this though, the notebook I had open from the branch the switched to master so both notebooks were master. I've tried
git checkout <mybranch> -f; jupyter notebook --port=<differentport>
and that still didnt work.Is this something possible to do without cloning the branch or master to a different folder?