Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7773497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:08:47+00:00 2026-06-01T17:08:47+00:00

I followed these instructions from GitHub web page to create a first repo; Global

  • 0

I followed these instructions from GitHub web page to create a first repo;

Global setup:
Set up git
  git config --global user.name "Your Name"
  git config --global user.email my_mail@gmail.com

Next steps:
  mkdir OpenSourceContrib  
  cd OpenSourceContrib  
  git init
  touch README
  git add README
  git commit -m 'first commit'
  git remote add origin git@github.com:dlib/OpenSourceContrib.git
  git push -u origin master

Existing Git Repo?
cd existing_git_repo
git remote add origin git@github.com:dlib/OpenSourceContrib.git
git push -u origin master

Everything goes ok until cd existing_git_repo ; then, I tried several path in the following command ‘git remote add origin …’ (notably, I first tried with the path where README file is located, beginning c:/Users/…). Now, when I write this precise bash command

  git remote add origin git@github.com:dlib/OpenSourceContrib.git

I get

  fatal: remote origin already exists

and when I write the next command,

  git push -u origin master

I have the following error

  ERROR: repository not found
  fatal: The remote ended up unexpectedly

I don’t understand where this errors are coming from, how to remove for instance the remote origin to start from scratch again, or how to fix it.

Btw, could you point to good quick reference to bash?

Regards.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:08:48+00:00Added an answer on June 1, 2026 at 5:08 pm

    Your question, command sequences and subsequent comments are not adding up. You apparently already have a repository in ‘Hello-World’ – suggesting you followed the GitHub instructions. But now, when creating OpenSourceContrib, you appear to be in the ‘Hello-World’ source tree (with .git repository) – hence the ‘origin already exists’.

    Just start again. Create a new GitHub repository and carefully create your source code tree with local Git repository)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have followed these instructions exactly, yet I get a Page cannot be found
I just followed the instructions from this page ( http://www.alexkorn.com/blog/2011/03/getting-php-mysql-running-amazon-ec2/ ) to setup apache
I followed these instructions while trying to get remote debugging working with Delphi 2007.
I followed these instructions here: http://logback.qos.ch/consolePlugin.html I have the correct and found logback.xml, it
I am new to development. I followed step by step instructions from http://code.google.com/apis/maps/articles/flashmapinwpf.html to
I followed these instructions: http://proteus-tech.com/blog/cwt/install-pil-in-snow-leopard/ And everything went as described. However, at the end,
I just followed these instructions to get pear installed on mac os x lion:
I downloaded the .NET SDK for Payflow Gateway and followed these instructions on setting
I have followed the instructions at http://www.javacodegeeks.com/2011/01/advanced-smartgwt-tutorial-part-1.html and tried to create a simple screen
I downloaded AutoScale from http://blog.maartenballiauw.be/post/2011/03/21/Windows-Azure-and-scaling-how-(NET).aspx and followed the instructions there. I added it as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.