Skip to content

Commit

Permalink
Fix clone instructions (gatsbyjs#3514)
Browse files Browse the repository at this point in the history
* Publish

 - gatsby-plugin-netlify-cms@1.0.1

* Fix instructions for cloning the docs
  • Loading branch information
KyleAMathews authored and jastack committed Jan 24, 2018
1 parent 71f939a commit c079cf2
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions docs/docs/gatsby-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ two ways:
If you prefer to write locally before submitting a PR, then follow these steps:

1. Fork this repository
2. Copy it to your local machine by running the command `git clone`
`https://github.com/YOUR-GITHUB-USERNAME/guides.git`
3. Add a remote upstream so git knows where the official Gatsby Guides
2. Copy your fork to your local machine.
3. Add a remote upstream so git knows where the official Gatsby
repository is located by running the command `git remote add upstream`
_incomplete code here_
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
Expand All @@ -88,10 +87,9 @@ Finally, if you want to run a version of the guides repository locally, follow
these steps:

1. Ensure you have the yarn package manager installed `npm install -g yarn`
2. Fork this repository 👇 `git clone https://github.com/YOUR-GITHUB-USERNAME/guides.git` `cd guides` `yarn install` `yarn run dev`

In this project we are using `yarn` because
[`Netlify`](https://www.netlify.com/) builds our site with `yarn`.
2. Install the Gatsby cli `yarn add --global gatsby-cli`
3. Follow the steps above to fork and clone the Gatsby repo.
4. Enter the `www` directory where gatsbyjs.org is and install its dependencies `yarn install` then run `gatsby develop`.

## Article style guide

Expand Down

0 comments on commit c079cf2

Please sign in to comment.