From 7c6f858b760fecb6a253b4097b975106133d49e9 Mon Sep 17 00:00:00 2001 From: Diana Vazquez Romo Date: May 21 2021 00:05:41 +0000 Subject: AddSSHKey Adds step to generate SSH Key for their Pagure profile if they haven't already done so. --- diff --git a/modules/contributing/pages/git.adoc b/modules/contributing/pages/git.adoc index 0c0d1a8..1431764 100644 --- a/modules/contributing/pages/git.adoc +++ b/modules/contributing/pages/git.adoc @@ -44,7 +44,7 @@ For example: `$HOME/fedora/docs` .. 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. .. Click the '''Clone''' drop-down menu in Pagure -.. Copy the contents of the '''SSH''' box +.. Copy the contents of the '''SSH''' box. If you don't see an '''SSH''' box then that means you don't have an SSH key listed in your Pagure profile. Before you go on to the next step make sure to generate one by following https://docs.pagure.org/pagure/usage/first_steps.html#upload-your-ssh-key[these] instructions. . Add your fork to the local checkout .. From a terminal, go to the directory you cloned above. (For example: `cd $HOME/fedora/docs/quick-docs`) .. From that directory, run `git remote add origin `. (For example: `git remote add origin ssh://git@pagure.io/forks/bcotton/fedora-docs/quick-docs.git`)