summaryrefslogtreecommitdiff
path: root/mentoring
diff options
context:
space:
mode:
authorAlison Dowdney <alison@alisondowdney.com>2021-06-23 13:08:36 +0100
committerAlison Dowdney <alison@alisondowdney.com>2021-06-23 13:08:36 +0100
commitd06f5ee564588c39dbb6b515e1afe5006591a001 (patch)
tree3c6f3130ebb2fd61da48b69a252b410790c7bc6c /mentoring
parenta09ecf0898138c4ce8b010bde7515e2d89e3e5d9 (diff)
update segment guide
Diffstat (limited to 'mentoring')
-rw-r--r--mentoring/programs/contributor-workshop/guides/updating-segment.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/mentoring/programs/contributor-workshop/guides/updating-segment.md b/mentoring/programs/contributor-workshop/guides/updating-segment.md
index 1b4f3e37..f3acafd1 100644
--- a/mentoring/programs/contributor-workshop/guides/updating-segment.md
+++ b/mentoring/programs/contributor-workshop/guides/updating-segment.md
@@ -16,16 +16,19 @@ This guide covers how to update segments in the Contributor Workshop.
### Fork & Clone the ``contributor-site``
-Create a fork of the [``contributor-site``](https://github.com/kubernetes/contributor-site/tree/workshop) repo.
+Create a fork of the [``contributor-site``](https://github.com/kubernetes/contributor-site) repo.
Clone your fork locally
### Checkout a branch off the workshop branch for your changes
```bash
+git remote add upstream git@github.com:kubernetes/contributor-site.git
+git remote set-url --push upstream no_push
+git fetch upstream
git checkout workshop
-
-git checkout -b my-changes
+git rebase upstream/workshop
+git checkout <your feature branch>
```
### Run the site locally with your changes