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

  • Home
  • SEARCH
  • 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 8098083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:58:09+00:00 2026-06-05T21:58:09+00:00

I may be missing something, but I’m sure that I’ve checked everything, I forked

  • 0

I may be missing something, but I’m sure that I’ve checked everything,
I forked a repo and cloned it on my system,
made some changes
after commiting
did git push origin master

it says

fatal: remote error: 
  You can't push to git://github.com/my_username/my_repo.git
  Use git@github.com:my_username/my_repo.git

Am I missing something?
then I tried

git remote add origin https://github.com/my_username/my_repo.git

it returned

fatal: remote origin already exists.

I dont understand why this is hapenning, pls help

  • 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-05T21:58:11+00:00Added an answer on June 5, 2026 at 9:58 pm

    The url with

    git://github.com/my_username/my_repo.git
    

    git:// Only gives read only access as mentioned in the side too..

    enter image description here

    Whereas,

    git@github.com:my_username/my_repo.git
    

    gives read and write access as mentioned in site

    enter image description here

    Though, https://github.com/my_username/my_repo.git also has read and write access but it was not working in your case because you trying to create a new remote with the same name instead of resetting it. The correct syntax as mentioned was

    git remote set-url origin git@github.com:my_username/my_repo.git

    And

    git remote set-url origin https://github.com/my_username/my_repo.git
    

    would also work.

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

Sidebar

Related Questions

I may be missing something extremely obvious, but I need some clarification regardless. I
I may be missing something obvious here, but how could I rewrite this code
I may be missing something obvious here, but in the devel module settings I
I may be missing something silly. But I've been staring at it for a
I may be missing something in the standard libs, but I don't think so.
I may be missing something but what is the difference between doing: public void
I may be missing something obvious, but how do you calculate 'powers' in SAS?
I may be missing something but I am stuck in this scenario: I have
I may well be missing something here but I'm noticing very slow performance when
I may be missing something obvious here, but how could I rewrite this code!

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.