Skip to content

Commit 2cac39b

Browse files
update git for jupyter (#118)
1 parent 6c089ff commit 2cac39b

2 files changed

Lines changed: 11 additions & 10 deletions

File tree

docs/imgs/jupyterlab-git-icon.png

39.5 KB
Loading

docs/manuals/git-clone.qmd

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -120,20 +120,21 @@ Workspaces that support JupyterLab ([Jupyter Notebook](../workspaces/programming
120120
1. In JupyterLab, look for the [Git icon](https://git-scm.com/community/logos) in the left sidebar
121121
2. Click it to open the Git panel.
122122

123-
If you don't see it, you can install the extension with `pip install jupyterlab-git`.
123+
![Git in JupyterLab sidebar](../imgs/jupyterlab-git-icon.png){width=50%}
124124

125-
### Available Features
125+
3. From here, you can clone repositories, view changes, commit, and push/pull through a visual interface. This provides a user-friendly alternative to command-line Git operations, especially useful for beginners.
126126

127-
The Git UI allows you to:
127+
If you don't see the Git icon, you can install the extension by running `pip install jupyterlab-git` in a terminal or by downloading the `jupyterlab-git` extension from the JupyterLab Extension Manager.
128128

129-
- **View changes**: See modified, added, and deleted files
130-
- **Stage/unstage files**: Click the **+** or **-** icons next to files
131-
- **Commit changes**: Enter a commit message and click "Commit"
132-
- **Push/pull**: Use the cloud icons to sync with remote repository
133-
- **View history**: See commit history and branches
134-
- **Switch branches**: Create and switch between branches
129+
:::::: {.callout-tip}
130+
# Tutorial for Using GitUI
131+
To see how you can use the Git extension in JupyterLab, check out this tutorial: [Using Git in JupyterLab](https://blog.reviewnb.com/jupyterlab-git-extension/).
135132

136-
This provides a user-friendly alternative to command-line Git operations, especially useful for beginners.
133+
You can also create pull requests directly from the JupyterLab Git UI as well. This allows you to contribute to repositories without leaving your JupyterLab environment. To do so, you need the [JupyterLab-Gitplus plugin](https://github.com/ReviewNB/jupyterlab-gitplus).
134+
Check out this tutorial to learn how to [Create Pull Requests in JupyterLab](https://blog.reviewnb.com/gitplus-jupyterlab-github-extension/).
135+
136+
You can find the official documentation here: [JupyterLab Git Extension](https://github.com/jupyterlab/jupyterlab-git#jupyterlab-git).
137+
:::
137138

138139
::: {.callout-note}
139140
**Authentication:** The same Personal Access Token requirements apply when pushing through the JupyterLab Git UI.

0 commit comments

Comments
 (0)