Skip to content

Commit 96078ea

Browse files
Merge pull request #1 from angular/master
docs(README): add alternative git clone method
2 parents 6ca94d4 + de30ee9 commit 96078ea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ git clone https://github.com/angular/angular-seed.git
3131
cd angular-seed
3232
```
3333

34+
If you just want to start a new project without the angular-seed commit history then you can do:
35+
36+
```bash
37+
git clone --depth=1 https://github.com/angular/angular-seed.git <your-project-name>
38+
```
39+
40+
The `depth=1` tells git to only pull down one commit worth of historical data.
41+
3442
### Install Dependencies
3543

3644
We have two kinds of dependencies in this project: tools and angular framework code. The tools help

0 commit comments

Comments
 (0)