Skip to content

Commit c079cf2

Browse files
KyleAMathewsjastack
authored andcommitted
Fix clone instructions (gatsbyjs#3514)
* Publish - [email protected] * Fix instructions for cloning the docs
1 parent 71f939a commit c079cf2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/docs/gatsby-style-guide.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@ two ways:
6565
If you prefer to write locally before submitting a PR, then follow these steps:
6666

6767
1. Fork this repository
68-
2. Copy it to your local machine by running the command `git clone`
69-
`https://github.com/YOUR-GITHUB-USERNAME/guides.git`
70-
3. Add a remote upstream so git knows where the official Gatsby Guides
68+
2. Copy your fork to your local machine.
69+
3. Add a remote upstream so git knows where the official Gatsby
7170
repository is located by running the command `git remote add upstream`
7271
_incomplete code here_
7372
4. Create a new branch for your work with the command `git checkout -b NEW-BRANCH-NAME`. Try to name your branch in a way that describes your
@@ -88,10 +87,9 @@ Finally, if you want to run a version of the guides repository locally, follow
8887
these steps:
8988

9089
1. Ensure you have the yarn package manager installed `npm install -g yarn`
91-
2. Fork this repository 👇 `git clone https://github.com/YOUR-GITHUB-USERNAME/guides.git` `cd guides` `yarn install` `yarn run dev`
92-
93-
In this project we are using `yarn` because
94-
[`Netlify`](https://www.netlify.com/) builds our site with `yarn`.
90+
2. Install the Gatsby cli `yarn add --global gatsby-cli`
91+
3. Follow the steps above to fork and clone the Gatsby repo.
92+
4. Enter the `www` directory where gatsbyjs.org is and install its dependencies `yarn install` then run `gatsby develop`.
9593

9694
## Article style guide
9795

0 commit comments

Comments
 (0)