如何与远程 Git 存储库同步? [英] How to sync with a remote Git repository?

查看:29
本文介绍了如何与远程 Git 存储库同步?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 github 上 fork 了一个项目,做了一些更改,到目前为止一切顺利.

I forked a project on github, made some changes, so far so good.

与此同时,我分叉的存储库发生了变化,我想将这些更改放入我的存储库中.我该怎么做?

In the meantime, the repository I forked from changed and I would like to get those changes into my repository. How do I do that ?

推荐答案

一般 git pull 就足够了,但我不确定你选择了什么布局(或者 github 为你选择了什么).

Generally git pull is enough, but I'm not sure what layout you have chosen (or has github chosen for you).

这篇关于如何与远程 Git 存储库同步?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆