我最近分叉了一个项目并应用了几个修复程序.然后我创建了一个拉取请求,然后被接受.
几天后,另一位撰稿人做出了另一项改变.所以我的fork不包含那个改变.
我怎样才能把这个改变变成我的叉子?当我进行进一步的更改时,是否需要删除并重新创建我的分支?还是有更新按钮?
我想使用GitHub Web界面将分叉的GitHub仓库与原始仓库同步.
我找到了以下两个线程,我需要的解决方案 -
我能够成功为forked repo创建一个pull请求并合并它.但是,此事务在forked repo中记录为附加提交.
现在如果我将原来的那个与fork进行比较,这个额外的提交就出现了 -

原始回购 - https://github.com/linode/docs
分叉回购 - https://github.com/jesinwp/docs
我有一个github配置文件,我把某人的存储库分成了我的.在本地我已经克隆了这个存储库
git clone https://github.com/my-github-page/repo-name
Run Code Online (Sandbox Code Playgroud)
现在,由于一段时间过去了,原来的回购所有者已经更新了他的回购,但我的落后.所以,如果我愿意git pull将他的变化合并到我的.但我想把我的变化从当地推到我的.
简单来说,如果我这样做,git remote show origin我得到这个:
[root@localhost xxx]# git remote show origin
* remote origin
Fetch URL: https://github.com/my-github-profile/xxx
Push URL: https://github.com/my-github-profile/xxx
HEAD branch: master
Remote branches:
1.0 tracked
master tracked
system_tests tracked
Local branch configured for 'git pull':
master merges with remote master
Local ref configured for 'git push':
master pushes to master (up to date)
Run Code Online (Sandbox Code Playgroud)
现在我想将FETCH URL更改为repo的原始src.因为原件已更新,但我的叉子落后了