Merge pull request #1454 from PowerShell/jianyunt/learnps
added "recursive cloning" back to readme per request #1197
This commit is contained in:
commit
7fae9b4714
1 changed files with 19 additions and 2 deletions
17
README.md
17
README.md
|
@ -37,6 +37,22 @@ Building PowerShell
|
|||
|-----------------------|-------|-------------------|------|
|
||||
| Build from **Source** | [Instructions][build-linux] | [Instructions][build-wc] | [Instructions][build-osx] |
|
||||
|
||||
Downloading the Source Code
|
||||
----------------------
|
||||
The PowerShell repository has a number of other repositories embedded as submodules.
|
||||
To make things easy, we can just clone recursively.
|
||||
|
||||
```sh
|
||||
git clone --recursive https://github.com/PowerShell/PowerShell.git
|
||||
```
|
||||
|
||||
If you already cloned but forgot to use `--recursive`, you can update submodules manually:
|
||||
```sh
|
||||
git submodule init
|
||||
git submodule update
|
||||
```
|
||||
See [working with the PowerShell repository][powershell-repo-101] for more information.
|
||||
|
||||
Developing and Contributing
|
||||
--------------------------
|
||||
|
||||
|
@ -85,3 +101,4 @@ For more information see the [Code of Conduct FAQ][conduct-FAQ] or contact
|
|||
[new-issue]:https://github.com/PowerShell/PowerShell/issues/new
|
||||
[pls-omi-provider]: https://github.com/PowerShell/psl-omi-provider
|
||||
[releases]: https://github.com/PowerShell/PowerShell/releases
|
||||
[powershell-repo-101]: docs/git/powershell-repository-101.md
|
||||
|
|
Loading…
Reference in a new issue