diff --git a/docs/guides/BUILDING.md b/docs/guides/BUILDING.md index 359b35e3d6b2d4..89e657f834a350 100644 --- a/docs/guides/BUILDING.md +++ b/docs/guides/BUILDING.md @@ -31,12 +31,13 @@ To check out the Matter repository, run the following command: git clone --recurse-submodules git@github.com:project-chip/connectedhomeip.git ``` -## Synchronizing submodules +## Updating Matter code -If you already have the Matter code checked out, run the following command to -synchronize submodules: +If you already have the Matter code checked out, run the following commands to +update the repository and synchronize submodules: ``` +git pull git submodule update --init ```