从远程GIT回购更新本地存储库

发布于 2025-01-23 03:22:06 字数 243 浏览 1 评论 0原文

我在Bitbucket上有项目,该项目以GitHub上的另一个项目的核心使用了另一个项目。我现在正在运行该项目的旧版本,该版本位于Github上,我想在本地将其在分支上进行更新,并将其远程推向Bitbucket Repo,以便我的同事可以将其拉动并进行更新。我不知道该如何用Minimun努力做到这一点。另一个项目的文件夹和文件很多很大,我不想通过文件更新它,因为这需要我5个小时。从GitHub存储库到我本地分支,然后添加,提交和推到Bitbucket的聪明方法是什么?

I have project on bitbucket, which at its core use another project, that is available on github. I am running old version now of this project, that is on github and I want to update it locally in branch and push it remotely to the BitBucket repo so my coworkers can pull it and also update it. I wonder how to do this with minimun effort. The other project is quite big with a lot of folders and files, I don't want to update it file by file, because it will take me 5 hours. What is a clever way to pull the changes from the github repo to my local branch and then add, commit and push to BitBucket?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文