Skip to content

Commit

Permalink
[doc]: update sonic-buildimage clone instructions (#1278)
Browse files Browse the repository at this point in the history
* [doc]: update sonic-buildimage clone instructions
  • Loading branch information
lguohan authored Jan 4, 2018
1 parent 39a99e1 commit 45bf130
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,17 @@ Please refer to [SONiC roadmap](https://github.com/Azure/SONiC/wiki/Sonic-Roadma
## Clone or fetch the code repository with all git submodules
To clone the code repository recursively, assuming git version 1.9 or newer:

git clone --recursive https://github.com/Azure/sonic-buildimage.git
git clone https://github.com/Azure/sonic-buildimage.git

## Usage

To build SONiC installer image and docker images, run the following commands:

cd sonic-buildimage

# (Optional) Checkout a specific branch. By default, it uses master branch
git checkout [branch_name]

# Execute make init once after cloning the repo, or fetched remote repo with submodule updates
make init

Expand Down

0 comments on commit 45bf130

Please sign in to comment.