From 9f3a3808f911947d8a03e2864665e2843e0d0f19 Mon Sep 17 00:00:00 2001 From: Tasia Iso Date: Sun, 12 May 2024 09:04:52 +0200 Subject: [PATCH] docs: you can add another git remote --- .markdownlint.yaml | 4 ++-- docs/contributing.md | 12 ++++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.markdownlint.yaml b/.markdownlint.yaml index aa88abf7..cf695d9c 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,5 +1,5 @@ default: true MD010: false # Ignore tabs in code blocks MD013: false # Don't wrap lines by default -MD046: - style: "fenced" # Force fenced code blocks +MD046: + style: 'fenced' # Force fenced code blocks diff --git a/docs/contributing.md b/docs/contributing.md index 378240fb..93eba35b 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -4,9 +4,17 @@ - Clone your repository -Alternatively, you can change the `origin` remote on your existing clone: + 1. Alternatively, you can add a remote called `fork`: -`git remote set-url origin https://dev.tildefriends.net/YOUR_USERNAME/tildefriends.git` + `git remote add fork https://dev.tildefriends.net/YOUR_USERNAME/tildefriends.git` + + You'll need to set your branch's upstream to `fork`: + + `git push --set-upstream fork my-branch` + + 2. or you can change the `origin` remote on your existing clone altogether: + + `git remote set-url origin https://dev.tildefriends.net/YOUR_USERNAME/tildefriends.git` - Make your changes