Skip to content

Commit

Permalink
Remove unecessary git checkout command from README
Browse files Browse the repository at this point in the history
The command is not needed, because the specified branch is already the
default branch on GitHub so will be checked out by clone automatically.

PiperOrigin-RevId: 430910549
  • Loading branch information
icbaker committed Mar 1, 2022
1 parent 9748695 commit d342215
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,11 @@ Cloning the repository and depending on the modules locally is required when
using some libraries. It's also a suitable approach if you want to make local
changes, or if you want to use the main branch.

First, clone the repository into a local directory and checkout the desired
branch:
First, clone the repository into a local directory:

```sh
git clone https://github.com/androidx/media.git
cd media
git checkout main
```

Next, add the following to your project's `settings.gradle` file, replacing
Expand Down

0 comments on commit d342215

Please sign in to comment.