Skip to content

Commit

Permalink
Merge pull request #170 from yuvipanda/no-master
Browse files Browse the repository at this point in the history
Tell users about `main` vs `master` branches
  • Loading branch information
consideRatio authored Mar 21, 2021
2 parents d243b0d + c269970 commit 22e2e27
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/link.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ Use the following form to create your own ``nbgitpuller`` links.
<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>
<div class="invalid-feedback">
Must specify a branch name
</div>
Expand Down

0 comments on commit 22e2e27

Please sign in to comment.