Introducing GitPlus: Version Control extension for Jupyter

Introducing GitPlus: Version Control extension for Jupyter

JupyterLab extension to push commits & create pull requests on GitHub. There’s no easy way to version control notebooks from Jupyter UI. Of course you can drop down to command line & learn a bunch of git commands to version control your notebooks. But not everyone using Jupyter is proficient at git. Hence I built GitPlus, a JupyterLab extension that provides the ability to commit notebooks & create GitHub pull requests directly from JupyterLab UI.

There’s no easy way to version control notebooks from Jupyter UI. Of course you can drop down to command line & learn a bunch of git commands to version control your notebooks. But not everyone using Jupyter is proficient at git. Hence I built GitPlus, a JupyterLab extension that provides the ability to commit notebooks & create GitHub pull requests directly from JupyterLab UI.

How to version control Jupyter Notebooks

When GitPlus extension is installed, it provides a new menu item Git-Plus in JupyterLab UI. From there, you can commit notebook files or create a GitHub pull request as shown in demo videos below.

How does it work?

  • There’s a server component of the extension that uses gitpython & GitHub APIs to push commits and create pull requests.
  • There’s a client component of the extension that provides the UI and calls appropriate endpoint on the server extension.
  • The client component looks at all the open files in JupyterLab and determines which of those files are under a GitHub repository.
  • It lets you select the repository to which you want to push commit or create pull request.
  • It captures the list of files to commit, commit message and pushes the changes as a commit to remote repository.
  • In case of pull requests, it creates a new branch and pushes the changes there. This newly created branch is compared to default branch (typically master) of your repository.
  • In case of forked repositories, pull request is created on the parent repository.

data-science git version-control mlops jupyter-notebook

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How to version control Jupyter Notebooks

Let’s look at all the tools you can leverage to make notebooks play nicely with modern version control systems like git. Jupyter notebooks are fantastic in many ways but collaboration is not so easy with them. In this article we’ll look at all the tools you can leverage to make notebooks play nicely with modern version control systems like git

Why Jupyter Notebooks are the Future of Data Science

Why Jupyter Notebooks are the Future of Data Science. How Jupyter Notebooks played an important role in the incredible rise in popularity of Data Science and why they are its future.

What Are The Advantages and Disadvantages of Data Science?

Online Data Science Training in Noida at CETPA, best institute in India for Data Science Online Course and Certification. Call now at 9911417779 to avail 50% discount.

50 Data Science Jobs That Opened Just Last Week

Data Science and Analytics market evolves to adapt to the constantly changing economic and business environments. Our latest survey report suggests that as the overall Data Science and Analytics market evolves to adapt to the constantly changing economic and business environments, data scientists and AI practitioners should be aware of the skills and tools that the broader community is working on. A good grip in these skills will further help data science enthusiasts to get the best jobs that various industries in their data science functions are offering.

Data Science Meets Devops: MLOps with Jupyter, Git, & Kubernetes

Data Science Meets Devops: MLOps with Jupyter, Git, & Kubernetes. An end-to-end example of deploying a machine learning product using Jupyter, Papermill, Tekton, GitOps and Kubeflow.