Skip to content
← Back to Community
Is it possible to change the GitHub repository connected to a Repl?
Profile icon
Ailrun

I have moved my GitHub repository to new one, but it looks like there is no way to reconnect existing repl to the new GitHub repository.
Is there a way?

Answered by PattanAhmed [earned 5 cycles]
View Answer
Voters
Profile icon
JawaherAlsha
Profile icon
YodaCode
Profile icon
Ailrun
Comments
hotnewtop
Profile icon
PattanAhmed

@Ailrun Hi Clare,
This feature isn't available until now!
But you can do it but you have to follow this tutorial and this tutorial.
And I am sure that you can do it!
Thanks!

Hope this helps
Please mark my answer if this helps

Profile icon
ParagonX

It is possible:

  1. open up the shell and type git remote rm origin

  2. go to version control

  3. click "connect to github" and then you can link your repo or create a new one!

Hope this helps :)

Profile icon
Coder100

Hi! Unfortunately, that is not possible yet. However, you can manually make the push to the new repo:
Hit ctrl+shift+s:

git remote add origin [url] git add . git commit -m "What you did" git push -u origin master

You will be prompted to log in.

Profile icon
gibbsfreenergy

No you can't connect two different repls to each other! You may have to merge it together! So sorry abt that! If this answered your questions then please choose this as the correct answer!