From 9bc66e8faebfe77a9077e9dd678eaed098caf75c Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Nov 27 2021 18:05:07 +0000 Subject: make the key part about -o upstream more noticeable I know that this is the essential trick to this particular workflow, YET I KEEP FORGETTING IT. So, two things: 1. Move `-o upstream` to the beginning of the line where a) I think it is more obvious and b) it seems more natural, because you have all of the typed part _and then_ the pasted part 2. Explicitly call this out as the "trick" of this workflow. --- diff --git a/modules/contributing/pages/git.adoc b/modules/contributing/pages/git.adoc index 9079f8b..c8218f3 100644 --- a/modules/contributing/pages/git.adoc +++ b/modules/contributing/pages/git.adoc @@ -40,7 +40,7 @@ For example: `$HOME/fedora/docs` .. Click the '''Clone''' drop-down menu in Pagure .. Copy the contents of the '''Git''' box .. From a terminal, go to the directory you want to keep your repository in. For example `cd $HOME/fedora/docs`. You will need to create this directory if it doesn't exist (for example: `mkdir -p $HOME/fedora/docs`) -.. From a terminal, run `git clone -o upstream`. For example `git clone \https://pagure.io/fedora-docs/quick-docs/ -o upstream`. +.. From a terminal, run `git clone -o upstream `. For example `git clone -o upstream \https://pagure.io/fedora-docs/quick-docs/`. **Note: do not forget `-o upstream`. That's really the essential "trick" of this workflow.** . Create your forked Pagure repo .. Go to the Pagure repo you want to fork (for example \https://pagure.io/fedora-docs/quick-docs/). We will refer to this as the ''upstream'' repo from now on. .. Click the '''Fork''' button at the top.