如何从原始存储库更新分叉的 Jekyll GitHub 博客?

How to update a forked Jekyll GitHub blog from the original repository?

我在这里有一个博客的 GitHub 存储库:https://github.com/andrerpena/andrerpena.github.io

这个存储库是这个存储库的分支:https://github.com/barryclark/jekyll-now

我想做的是根据我分叉的存储库更新我的存储库。我没有 Git 经验,所以我正在尝试遵循 this tutorial。但它不起作用,因为我似乎没有 upstream 分支。

我该怎么办?

编辑

根据@sircapsalot 的建议,我现在似乎已经正确配置了 upstream 分支:

但是我不知道该怎么办。

如果您使用的是 CLI:

$ pwd
/users/.../andrerpena.github.io
$ git remote add upstream git@github.com:barryclark/jekyll-now.git
$ git pull --rebase upstream master

您没有 upstream 的原因是您没有阅读 :)

转到那个 that page