Add nbgitpuller to PAWS #66
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Over the last few years,
nbgitpuller
has become a very common way to distribute examples / learning materials
to participants in a workshop. This lets them start from a working base
but modify it as they want.
Once installed, you can create a specific link with
https://jupyterhub.github.io/nbgitpuller/link.html that points to
paws and to the git repo you want to 'pull'. If you use this link:
https://hub.paws.wmcloud.org/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fyuvipanda%2Frequirements&urlpath=tree%2Frequirements%2F&branch=master
it will pull in https://github.com/yuvipanda/requirements locally
and let you edit it. If someone changes the git repo, you can click it
again to pull in new changes.