From 104a5d8240e3d1fe7b4d4409e40bac5416808cba Mon Sep 17 00:00:00 2001 From: Hector Alfaro Date: Thu, 9 Jul 2020 08:38:09 -0400 Subject: [PATCH] adjust GitHub Desktop instructions for main and for new UI --- responses/02_move-local.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/responses/02_move-local.md b/responses/02_move-local.md index fd71a4b..57d5c2b 100644 --- a/responses/02_move-local.md +++ b/responses/02_move-local.md @@ -30,10 +30,14 @@ Having a project already stored locally enables you to move it to GitHub rather ### Using GitHub Desktop - 1. In GitHub Desktop, add a local repository by clicking `File > Add a Local Repository`, and then navigating to your local repository. - 2. Create your first commit by typing a summary commit message in the field provided and clicking **Commit to master** - 3. Add the remote by clicking `Repository > Repository Settings...` and pasting the URL from your repository on GitHub into the "Primary remote repository (origin)" field. Click **Save**. - 4. Click **Publish** in the top right corner to push your repository to GitHub. +GitHub Desktop doesn't allow you to add a new remote for an existing directory, so instead we'll copy the contents of your existing folder to our repo. If you'd like to keep your existing folder, you may want to use the command line or one of the other tools. + + 1. In GitHub Desktop, click on **File** and **Clone a repository**. + 2. Click on the **URL** tab. + 3. Paste the URL from this repository. + 4. Move the contents of your local repository to this directory. + 5. Create a commit by entering a commit message and then clicking on **Commit to main** + 6. Click **Publish branch** in the top right corner to push your repository to GitHub.