简体   繁体   中英

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

I have a GitHub repository for a blog here: https://github.com/andrerpena/andrerpena.github.io .

This repository is a fork from this one: https://github.com/barryclark/jekyll-now .

What I'm trying to do is to update my repository based on the repository I forked from. I have no Git experience so I'm trying to follow this tutorial . But it's not working because it seems I don't have an upstream branch.

What do I do?

EDIT

After @sircapsalot's suggestion, it seems I now have the upstream branch properly configured:

在此输入图像描述

Yet I don't know what to do.

If you are using the CLI:

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

The reason you don't have an upstream , is you didn't read :)

在此输入图像描述

Go to that that page .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM