如何将我的repl.it replion连接到现有的github存储库?
我正在使用nodejs开发一个自定义的Discord机器人,并在reppl上托管了一段时间。我将重置连接到github存储库以进行版本控制,但后来我不得不分叉并创建一个新的。我删除了旧的重复。
现在,当我对新的替补进行更改并尝试对GitHub存储库进行更改时,没有任何更改(新提交不会显示在Github上,而是出现在Replit上)。 Replit中有一个按钮“连接到GitHub”,只能让我创建一个我不想要的新存储库。我想将我的新REPL链接到旧的GitHub存储库。
我该如何实现?
I am developing a custom Discord bot using NodeJS and have been hosting it on Repl.it for some time. I connected my repl to a GitHub repository for version control but later I had to fork my repl and create a new one. I deleted the old repl.
Now, when I make a change on the new repl and try to commit the changes to the GitHub repository, nothing changes (the new commits do not show up on GitHub but do show up on Replit). There is a button "Connect to GitHub" in Replit which only lets me create a new repository which I do not want. I want to link my new repl to my old GitHub repository.
How can I achieve this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
reveit 提供
shell> shell
and git直接命令,这更方便。您可以创建一个新的存储库,然后单击
shell
(在右图中)。键入以下内容;
完成后,左图中的
版本控制
也将同步。当然,您还可以使用
shell
来推动Repeit Reploge进行的更改。Replit provides a
shell
and has git installed, so you can use the shell to run git commands directly, which is more convenient.You can create a new repo, and click
shell
(in the right panel).Type the following;
Once done, the
version control
in the left panel will also be synchronized.Of course, you can also push changes made in replit back to GitHub, also using the
shell
.