Commit d3422151 by ibaker Committed by Ian Baker

Remove unecessary `git checkout` command from README

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
parent 9748695e
Showing with 1 additions and 3 deletions
...@@ -96,13 +96,11 @@ Cloning the repository and depending on the modules locally is required when ...@@ -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 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. changes, or if you want to use the main branch.
First, clone the repository into a local directory and checkout the desired First, clone the repository into a local directory:
branch:
```sh ```sh
git clone https://github.com/androidx/media.git git clone https://github.com/androidx/media.git
cd media cd media
git checkout main
``` ```
Next, add the following to your project's `settings.gradle` file, replacing Next, add the following to your project's `settings.gradle` file, replacing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment