From d93d84a32ad1c8aabe900e3b5e8bbc5c3c75c35e Mon Sep 17 00:00:00 2001 From: YuviPanda <yuvipanda@gmail.com> Date: Tue, 9 Jan 2024 14:05:50 -0800 Subject: [PATCH] Don't hardcode 'master' into the link generator Just leaving it empty now checks out HEAD, which is the default branch. Fixes https://github.com/jupyterhub/nbgitpuller/issues/311 --- docs/link.rst | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/link.rst b/docs/link.rst index a1534f03..e91cfae7 100644 --- a/docs/link.rst +++ b/docs/link.rst @@ -83,12 +83,7 @@ Use the following form to create your own ``nbgitpuller`` links. <div class="input-group-prepend"> <span class="input-group-text" id="branch-prepend-label">branch</span> </div> - <input name="branch" id="branch" type="text" class="form-control" value="master" aria-label="Branch Name" aria-describedby="branch-prepend-label"> - <small class="form-text text-muted"> - Use <code>main</code> instead of <code>master</code> for - <a href="https://github.blog/changelog/2020-10-01-the-default-branch-for-newly-created-repositories-is-now-main/"> - new GitHub repositories</a> - </small> + <input name="branch" id="branch" type="text" class="form-control" placeholder="default" aria-label="Branch Name" aria-describedby="branch-prepend-label"> <div class="invalid-feedback"> Must specify a branch name </div>