You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Readme: Authentication to remote repo
* Apply suggestions from code review
Yes, very good improvements, especially to make it less focused on github
Co-authored-by: Frédéric Collonval <[email protected]>
* Reorganize the README
Co-authored-by: Frédéric Collonval <[email protected]>
This extensions does not handle credentials or authentication details. In order to connect to a remote host, it is recommended to use SSH.
67
+
68
+
If you are seeing errors similar to `[E yyyy-mm-dd hh:mm:ss ServerApp] 500 POST /git/<clone|push|pull|status>` on the console which is running the JupyterLab server, you probably need to set up a credentials store for your local Git repository. One of the possibility is to use SSH.
69
+
70
+
Here are the steps to follow (skip any that is already accomplished for your project):
71
+
72
+
1.[Create a SSH key](https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)
73
+
2. Register the public part of it to your Git server:
3. Optionally, if you have more than one key managed by your ssh agent: [Create a config file for the ssh-agent](https://stackoverflow.com/a/21938804)
77
+
4. Tell your local Git repository to [connect to remote via ssh](https://docs.github.com/en/get-started/getting-started-with-git/managing-remote-repositories#switching-remote-urls-from-https-to-ssh)
78
+
79
+
You should now be able to pull and push committed changes to and from your remote repository using the respective buttons on the top of the extension's panel.
80
+
63
81
### UI Settings
64
82
65
83
Once installed, extension behavior can be modified via the following settings which can be set in JupyterLab's advanced settings editor:
@@ -140,10 +158,10 @@ If they do not match or one is missing, please [reinstall the package](README.md
140
158
```bash
141
159
jupyter labextension install @jupyterlab/git
142
160
```
143
-
161
+
144
162
If you see `@jupyterlab/git` under `Uninstalled core extensions: `, your installation may have been corrupted. You can run `jupyter lab clean --all` and
145
163
reinstall all your extensions.
146
-
164
+
147
165
## Contributing
148
166
149
167
If you would like to contribute to the project, please read our [contributor documentation](https://github.com/jupyterlab/jupyterlab/blob/master/CONTRIBUTING.md).
0 commit comments