# Workflow for JupyterHubs with with nbgitpuller and JupyterLab. Extension Needed?

**URL:** <https://discourse.jupyter.org/t/workflow-for-jupyterhubs-with-with-nbgitpuller-and-jupyterlab-extension-needed/1982>\
**Category:** JupyterLab\
**Created:** [August 24, 2019, 3:06am UTC](https://discourse.jupyter.org/t/workflow-for-jupyterhubs-with-with-nbgitpuller-and-jupyterlab-extension-needed/1982 "2019-08-24T03:06:09Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jlperla](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/jlperla/32/1019_2.png) [@jlperla](https://discourse.jupyter.org/u/jlperla)\
**Post date:** [August 25, 2019, 4:37am UTC](https://discourse.jupyter.org/t/workflow-for-jupyterhubs-with-with-nbgitpuller-and-jupyterlab-extension-needed/1982/3 "2019-08-25T04:37:01Z")

</div>

Great. Based on the response [Is customization of the JupyterLab file browser possible?](https://discourse.jupyter.org/t/is-customization-of-the-jupyterlab-file-browser-possible/1978) it sounds like this is technically feasible. Can I ask for some hints on the direction, if possible:

- Can you point me to the simplest example of a jupyterlab extension you can think of that we could use as a template? i.e. no themes or UI elements required.
- Any examples you can think of that show how to run a shell command from within a jupyterhub extension.
- Any thoughts on the naming of the menu items for this that would be intuitive for the typical nbgitpuller users? How about:
  - “Update Modified Notebooks” = `git pull`
  - “Undo Local Changes” = `git reset --hard HEAD`
  - “Replace all Notebooks with Latest” = `git fetch; git reset --hard origin/master`
  - I think there could be equivalent functions for a single file (e.g. `git checkout -- filename`)

---

_[View the full topic](https://discourse.jupyter.org/t/workflow-for-jupyterhubs-with-with-nbgitpuller-and-jupyterlab-extension-needed/1982)._
