天天看点

让 fork 出来的 Github 仓库从远端仓库拖取最新的修改

标准的 Spartacus repo:

https://github.com/SAP/spartacus

我 fork 了一个自己的仓库:

https://github.com/wangzixi-diablo/spartacus/

当远端仓库有新的提交后,我在我自己的仓库里,使用如下命令,抓取最新的提交:

git pull

https://github.com/SAP/spartacus.git

develop

输出:

让 fork 出来的 Github 仓库从远端仓库拖取最新的修改

然后 git p 即可:

让 fork 出来的 Github 仓库从远端仓库拖取最新的修改

最后看到的提交记录:

让 fork 出来的 Github 仓库从远端仓库拖取最新的修改

2021-11-22

如果遇到下图 schannel: failed to receive handshake, SSL/TLS connection failed 错误,把 https 更换成 git 协议再试。

让 fork 出来的 Github 仓库从远端仓库拖取最新的修改