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 6534033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:12:06+00:00 2026-05-25T10:12:06+00:00

I cloned a gist using the Public Clone URL. I made my changes, added,

  • 0

I cloned a gist using the Public Clone URL. I made my changes, added, and committed. However when I run, git push origin master I get the following error:

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

yet according to git remote -v the origin should be at the gist.github.com subdomain

origin  git://gist.github.com/1234567.git (fetch)
origin  git://gist.github.com/1234567.git (push)

Any ideas on resolving this error? Thanks!

  • 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-05-25T10:12:07+00:00Added an answer on May 25, 2026 at 10:12 am

    Have you tried changing to the remote URL that the error suggests? Try doing:

    git remote set-url --push origin git@github.com:1234567.git
    

    Currently, you’re connecting with HTTP and it wants you to connect with SSH.

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

Sidebar

Related Questions

I've cloned a git repo using git clone --mirror , and I'd like to
I cloned a git repository from GitHub, made some changes and some commits; I
I have a git repository which tracks an svn repository. I cloned it using
Mercurial supports push-style cloning of repositories to remote hosts, however newly cloned repositories don't
I cloned a project from github with git clone --mirror . That left me
I cloned a repo using its GitHub read-only URL onto my team's staging server.
I cloned something from git repository, and switched branch git clone ssh://11.21.3.12:23211/dir1/dir2 dir git
I have cloned a svn project repo using git-svn. When I fetch commits, how
I have cloned an SVN repository from work using git-svn. During the initial cloning,
I cloned the develop branch: git clone --branch 1.1/develop --recursive git://github.com/fuel/fuel.git but the files

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.