Skip to content

Commit a1ea521

Browse files
committed
Branch field no longer suggests default
The placeholder that indicated a default branch name is removed from the branch field and the message instructing the user as to how the branch name is handled is updated
1 parent 627ba86 commit a1ea521

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

link.html

+3-6
Original file line numberDiff line numberDiff line change
@@ -240,15 +240,12 @@ <h1>nbgitpuller link generator<a class="headerlink" href="#nbgitpuller-link-gene
240240
<div class="input-group-prepend">
241241
<span class="input-group-text" id="branch-prepend-label">branch</span>
242242
</div>
243-
<input name="branch" id="branch" type="text" class="form-control" value="master" aria-label="Branch Name" aria-describedby="branch-prepend-label">
244-
<small class="form-text text-muted">
245-
Use <code>main</code> instead of <code>master</code> for
243+
<input name="branch" id="branch" type="text" aria-label="Branch Name" aria-describedby="branch-prepend-label">
244+
<small id="default-repo-message" class="form-text text-muted">
245+
If left blank, the default branch of your repository is used. Also note, Github now names the default branch <code>main</code> instead of <code>master</code> on
246246
<a href="https://github.blog/changelog/2020-10-01-the-default-branch-for-newly-created-repositories-is-now-main/">
247247
new GitHub repositories</a>
248248
</small>
249-
<div class="invalid-feedback">
250-
Must specify a branch name
251-
</div>
252249
</div>
253250
</div>
254251
</div>

0 commit comments

Comments
 (0)