From 003a324004b2a68ccbc1cadd6ea53d6123f012a4 Mon Sep 17 00:00:00 2001 From: remotenemesis Date: Sun, 13 Jan 2019 09:37:56 -0800 Subject: [PATCH] tidied explanation for git remote add upstream --- for-beginners/how-to-gitea.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/for-beginners/how-to-gitea.md b/for-beginners/how-to-gitea.md index cadb4b4..a1aaaee 100644 --- a/for-beginners/how-to-gitea.md +++ b/for-beginners/how-to-gitea.md @@ -47,12 +47,15 @@ You are downloading all the project files to your computer! Good work! Git will install the project in a new folder. Use the command `ls` to see the name of the new project folder if you are unsure. Open this new folder with `cd cloned_directory_name` to see what was installed. -### Add the upstream path (Do this step only once!) -If the master (where you forked FROM) changes, you will have to update your local clone. You will only have to do this step ONE time! +### Add the upstream path + +_(Do this step only once!)_ + +Over time, you will want to keep your local clone of your fork updated with changes made to the original repo. To make this easier, define a "remote" repository in your local clone, called _upstream_, that points to the original repo. From your `cloned_directory_name` directory, do this: -`git remote add upstream https://git.lollipopcloud.soltuions/lollipop_cloud/original_repository.git` (with the original repository URL). +`git remote add upstream https://git.lollipopcloud.solutions/lollipop-cloud/original_repository.git` (with the original repository URL). ### Create a branch The `git checkout` command at the end will create a branch, but this is a good practice for each time you want to create a new branch for contributing: