From a4c192f0f15f34b702c5f2e111d9d3f0f4e68de7 Mon Sep 17 00:00:00 2001 From: Diana Vazquez Romo Date: Mar 24 2021 18:19:53 +0000 Subject: Update modules/contributing/pages/git.adoc Adds step for adding SSH key to Pagure. --- diff --git a/modules/contributing/pages/git.adoc b/modules/contributing/pages/git.adoc index 0c0d1a8..f1cb23f 100644 --- a/modules/contributing/pages/git.adoc +++ b/modules/contributing/pages/git.adoc @@ -23,8 +23,13 @@ To do anything else on this page, you'll want to have the following: NOTE: While this document was written with Fedora in mind, the steps below work on any operating system with git installed. See the https://git-scm.com/book/en/v2/Getting-Started-Installing-Git[git documentation] for more information on installing git on other operating systems. + == Before your first edit +Add an SSH key to your Pagure profile +This will help you push any changes you make locally on your computer to your remote repository. +For how to do so visit: https://docs.pagure.org/pagure/usage/first_steps.html#upload-your-ssh-key + When you first get started, you won't have commit access to the git repos for docs. You'll need to create your own copy, called a "fork". @@ -35,6 +40,7 @@ TIP: By default, `git clone` will clone a repository into a subdirectory named t In order to keep your filesystem nice and tidy, you may want to have a dedicated directory that you keep all of your docs repos in. For example: `$HOME/fedora/docs` + . Go to the upstream Pagure repo .. Click the '''Clone''' drop-down menu in Pagure .. Copy the contents of the '''Git''' box