castleon / jupyterlab-git

A Git extension for JupyterLab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jupyterlab-git

Binder

A JupyterLab extension for version control using git

Prerequisites

  • JupyterLab

Usage

  • Open the git extension from the Git tab on the left panel

Install

jupyter labextension install @jupyterlab/git
pip install jupyterlab-git
jupyter serverextension enable --py jupyterlab_git

Development

Contributing

If you would like to contribute to the project, please read our contributor documentation.

JupyterLab follows the official Jupyter Code of Conduct.

Install

Requires node 4+ and npm 4+

# Clone the repo to your local environment
git clone https://github.com/jupyterlab/jupyterlab-git.git
cd jupyterlab-git
# Install dependencies
npm install # or yarn
# Build Typescript source
npm run build # or yarn build
# Link your development version of the extension with JupyterLab
jupyter labextension link .
# Rebuild Typescript source after making changes
npm run build # or yarn build
pip install .
jupyter serverextension enable --py jupyterlab_git

To rebuild the package and the JupyterLab app:

npm run build
jupyter lab build

About

A Git extension for JupyterLab

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:TypeScript 79.3%Language:Python 19.2%Language:CSS 1.3%Language:Shell 0.1%