From 958d8cb5026ba945854a9f0fdf600eaf41140564 Mon Sep 17 00:00:00 2001 From: Christie Wilson Date: Mon, 5 Feb 2018 17:50:51 -0800 Subject: [PATCH] Make it more clear the instructions expect a fork Two people have so far run into issues with these docs b/c they missed the instruction to fork the repo, so hopefully outlining it clearly as a step will make this easier. --- DEVELOPMENT.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 0aa0667980a3..4193deea946b 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -40,17 +40,19 @@ environment](README.md#start-elafros)! The repository must be set up properly relative to your [`GOPATH`](https://github.com/golang/go/wiki/SettingGOPATH). -To check out this repository first [fork this -repo](https://help.github.com/articles/fork-a-repo/), then: - -```shell -mkdir -p ${GOPATH}/src/github.com/google -cd ${GOPATH}/src/github.com/google -git clone git@github.com:${YOUR_GITHUB_USERNAME}/elafros.git -cd elafros -git remote add upstream git@github.com:google/elafros.git -git remote set-url --push upstream no_push -``` +To check out this repository: + +1. Create your own [fork of this + repo](https://help.github.com/articles/fork-a-repo/) +2. Clone it to your machine: + ```shell + mkdir -p ${GOPATH}/src/github.com/google + cd ${GOPATH}/src/github.com/google + git clone git@github.com:${YOUR_GITHUB_USERNAME}/elafros.git + cd elafros + git remote add upstream git@github.com:google/elafros.git + git remote set-url --push upstream no_push + ``` ### Environment setup To [start your envrionment](./README.md#start-elafros) you'll need to set these environment