Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct language around default branch, based on my testing #342

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ npm install -g degit

### Basics

The simplest use of degit is to download the master branch of a repo from GitHub to the current working directory:
The simplest use of degit is to download the default branch of a repo from GitHub to the current working directory:

```bash
degit user/repo
Expand Down Expand Up @@ -54,7 +54,7 @@ degit https://git.sr.ht/user/repo

### Specify a tag, branch or commit

The default branch is `master`.
If not specified, the GitHub [default branch](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch) will be used..

```bash
degit user/repo#dev # branch
Expand Down