You can also browse old commits on GitHub by going to Your project page -> Commits. If you want to actually revert to an old state and make some changes there, you can start a new branch from that commit. At the end run “git checkout master” to go back to the current state. If you want to temporarily go back to a commit, checkout the files, and come back to where you are then you can simply checkout the desired commit. Or run git merge + git push from command line, Once your changes are approved you can merge them from GitHub UI. It shows you rich diffs & lets you comment on any notebook cell to discuss changes with your team. You can use ReviewNB to solve the notebook diff’ing problem. But in case of Jupyter, GitHub shows JSON diffs which are really hard to read (see below). GitHub pull request are fantastic for peer review as they let you see changes side-by-side & comment on them. On the next page provide title & describe your changes in brief, hit “Create pull request” again. Go to your Project page -> Pull requests tab -> click “New pull request”.Ĭhoose which branch you’d like to merge into master. You can create pull requests from GitHub UI. Most likely, you’d want to first share it with your peers, get their feedback before merging it into master branch. Let’s say you’ve been working on feature branch for a while and it’s ready for prime time. You can use nohup command if you still want to use the notebook on Maxwell after you close the notebook terminal window, e.g.> git push -set-upstream origin customer_data_insightsĪnd then do git push to push your commits to this newly created branch.In the above example, I used the port 9999, this is my port, you can choose one from 9991, 9993-9994, 9996-9997, these ones are avaiable now.Acturally, you can move them to other directory, e.g., ~/.jupyter/, then edit the addresses of certfile and keyfile in configuration file (see above). The default location of mycert.pem and mykey.key is in the home directory ~/if you use the above seeting.It needs your password to access (the password created via SSL). # The port the notebook server will listen on.Īfter above settings, you can start the notebook using the jupyter notebook command. # The full path to an SSL/TLS certificate file.Ĭ.NotebookApp.certfile = u './mycert.pem' # The IP address the notebook server will listen on.Ĭ.NotebookApp.ip = '*' # The full path to a private key file for usage with SSL/TLS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |