@@ -75,10 +75,6 @@ you probably don't need to build this site.
7575Often you can make changes using the GitHub UI.
7676If needed, we can stage the changes automatically in your pull request.
7777
78- > [ !IMPORTANT]
79- > If you are cloning this repository locally,
80- > follow the below instruction on cloning with its submodule.
81-
8278If your change involves code samples, adds/removes pages, or affects navigation,
8379do consider building and testing your work before submitting.
8480
@@ -133,52 +129,28 @@ follow the update instructions for how you originally installed it.
133129[ Node.js download archive ] : https://nodejs.org/en/download/
134130[ nvm ] : https://github.com/nvm-sh/nvm
135131
136- ### Clone this repo and its submodules
137-
138- > [ !NOTE]
139- > This repository has git _ submodules_ , which affects how you clone it.
140- > The GitHub documentation has general help on
141- > [ forking] [ ] and [ cloning] [ ] repos.
132+ ### Clone this repo
142133
143134If you're not a member of the Flutter organization,
144- we recommend you ** create a fork** of this repo under your own account,
135+ we recommend you [ create a fork] [ ] of this repo under your own account,
145136and then submit a PR from that fork.
146137
147138Once you have a fork (or you're a Flutter org member),
148- _ choose one_ of the following submodule-cloning techniques:
149-
150- 1 . Clone the repo and its submodule at the same time
151- using the ` --recurse-submodules ` option:
152-
153- ``` console
154- git clone --recurse-submodules https://github.com/flutter/website.git
155- ```
139+ clone the repository with ` git clone ` :
156140
157- 2 . If you've already cloned the repo without its submodule,
158- then run this command from the root of the repository:
159-
160- ``` console
161- git submodule update --init --recursive
162- ```
163-
164- > [ !NOTE]
165- > At any time during development
166- > you can use the ` git submodule ` command to refresh submodules:
167- >
168- > ``` console
169- > git pull && git submodule update --init --recursive
170- > ` ` `
141+ ``` bash
142+ git clone https://github.com/flutter/website.git
143+ ```
171144
172- [cloning]: https://docs.github.com/repositories/creating-and-managing-repositories/cloning-a-repository
173- [forking]: https://docs.github.com/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo
145+ [ create a fork ] : https://docs.github.com/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo
174146
175147## Set up your local environment and serve changes
176148
177149Before you continue setting up the site infrastructure,
178150verify the correct versions of Flutter and Node.js are set up and available by
179151following the instructions in [ Get the prerequisites] ( #get-the-prerequisites ) .
180152
181- 1. _Optional:_ After cloning the repo and its submodules ,
153+ 1 . _ Optional:_ After cloning the repo,
182154 create a branch for your changes:
183155
184156 ``` console
0 commit comments