Error when trying to create a Github repository from Replit

image

I only have two repositories, and neither of them are named “Text-Adventures.” This also happens when I try other names. Idk how to fix, hope someone can help me cause I’ve never done this before lol.

2 Likes

Do you have an existing repo on github with that name? Check the Remote field and see if it exists.

1 Like

Here are my repos:

I’m not sure what you mean.

image

What github account is being used? Your personal account, or the one with the replit noreply email?

Again, I’m not sure what you mean but:

image

I tried both of them, didn’t change anything

Maybe try to disconnect your git and reconnect again?
(Sorry if u already did this)

1 Like

Can you try are see what happens when you manually make a repository named "Text-Adventures?” (i added that question mark because of grammer) Maybe that’ll help.

1 Like

I was able to create the repo. I think I’ll just connect that to my Repl.

I’m also experiencing this exact issue, and previously it just went away after restarting replit a couple times, but now it won’t

Yeah this was reported and nothing happened and no work is being done on it afaIk

2 Likes

Can you share the URL of the GitHub repository you are trying to import?

2 Likes

This error is pretty old, had this happen to mine too.

Try to add a link,
And then you may have to make a new tag,
And then switch it to the default.
Then set your Replit to that one, and push.

Very weird work around, took a while to figure out, I was fuming just trying to find a way.

Pretty sure it has to do with the origin and session auths.

Hope this helps!

I’m trying to create a GitHub repo from Replit. Normally, this works, but for this particular Replit project it would not (I would continue to get the error along the lines of “Are you sure you don’t already have a repo with this name?” and I absolutely did not). Eventually, I created a new Replit project, connected that to a new GitHub repo successfully, and ported all my code from the old replit project to the new.

Thanks for the context! Just so I have all the info, can you share the link of the Repl that you are creating a repository from and the name of the repository you are trying to create into GitHub?

2 Likes

Happens to every Repl for me

1 Like

Can you try disconnecting and reconnecting your GitHub account from the https://replit.com/account page? If that doesn’t work, can you send me a screenshot of the error message you’re getting when you try to create a GitHub repository?

2 Likes

IIrc I already tried that but I will try again

Oh. reconnecting my GH acc worked. ¯\_(ツ)_/¯

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.