mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
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 (cherry picked from commit d34221519d907f002abce245a3450ccacf988de8)
This commit is contained in:
parent
d10700456d
commit
16819edebd
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user