From ba0fe543acc57a0a32190bd65bb2e90bc6e24140 Mon Sep 17 00:00:00 2001 From: Tom Granot <8835035+TomGranot@users.noreply.github.com> Date: Wed, 23 Nov 2022 15:22:13 +0200 Subject: [PATCH] Add command to delete AWS remote origin --- hugo-docs-content/20_build/1_setup.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hugo-docs-content/20_build/1_setup.md b/hugo-docs-content/20_build/1_setup.md index 1036bbf..34acd3f 100644 --- a/hugo-docs-content/20_build/1_setup.md +++ b/hugo-docs-content/20_build/1_setup.md @@ -39,7 +39,11 @@ The submodules contain the hugo-theme-learn theme for the Hugo Framework. ## 3. Create and push to YOUR GitHub repo -**Create a repo in your GitHub account and follow the instructions under "Push an existing repository from the command line"** +To make sure you won't face a remote repo name conflict in your project, first remove the existing remote `origin`: +``` +git remote rm origin +``` +Then, create a repo in your GitHub account and follow the instructions under "Push an existing repository from the command line": ## 4. Install Hugo If you're using a Mac, go to your terminal: