Skip to content

beginner here - having trouble pushing commits to repository #28601

Discussion options

You must be logged in to vote

This looks really odd:

$ git remote -v
origin git@github.com:edgarflopez/run-buddy.gitgit@github.com:edgarflopez/run-buddy.git (fetch)
origin git@github.com:edgarflopez/run-buddy.gitgit@github.com:edgarflopez/run-buddy.git (push)

It looks like your remote repository URLs got duplicated somehow, maybe a copy&paste error? Whatever the cause, you can fix the URL with git remote set-url:

$ git remote set-url origin git@github.com:edgarflopez/run-buddy.git
$ git remote set-url --push origin git@github.com:edgarflopez/run-buddy.git

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@edgarflopez
Comment options

@airtower-luna
Comment options

@afeefuddin
Comment options

@Ishita-Trivedi
Comment options

Answer selected by edgarflopez
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New User Help ❓ New User help
6 participants