Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何合并github存储库?_Git_Github - Fatal编程技术网

如何合并github存储库?

如何合并github存储库?,git,github,Git,Github,有一个jQuery插件。。一些人对这个插件的github fork做了一些修改 我希望有一个版本是这两个代码的合并: 感谢您的帮助。由于原始存储库也位于github上,因此过程大致如下。在更适合您的目录中,执行以下操作: git clone https://github.com/arshaw/fullcalendar.git fullcalendar 然后将另外两个存储库添加为远程存储库: git remote add elhigu https://github.com/elhigu/

有一个jQuery插件。。一些人对这个插件的github fork做了一些修改

我希望有一个版本是这两个代码的合并:


感谢您的帮助。

由于原始存储库也位于github上,因此过程大致如下。在更适合您的目录中,执行以下操作:

git clone https://github.com/arshaw/fullcalendar.git fullcalendar
然后将另外两个存储库添加为远程存储库:

git remote add elhigu https://github.com/elhigu/fullcalendar.git
git remote add AlbeTech https://github.com/AbleTech/fullcalendar
然后将其更改拉到本地副本:

git pull elhigu master
git pull AlbeTech master

这应该可以满足您的需要,但请注意,您可能会遇到冲突。

当我尝试提取它们时,出现以下错误:Vitor MacBook:fullcalendar vitorbari$git pull elhigu/master fatal:“elhigu/master”似乎不是git存储库fatal:远程端挂起unexpectedly@VitorBari很抱歉我在使用CLI时经常输入错误。请看我的编辑。