Vitor Bari
Vitor Bari

Reputation: 105

How to merge github repositories?

There is this jQuery plugin jQuery plugin.. some guys made some modifications which one in their own github fork of this plugin..

i would like to have a version which is a merge of those 2 codes:

Thanks for any help.

Upvotes: 1

Views: 171

Answers (1)

Jonas Schäfer
Jonas Schäfer

Reputation: 20718

As the original repository is also on github, the procedure would be somewhat like this. In a directory preferable for you, do:

git clone https://github.com/arshaw/fullcalendar.git fullcalendar

Then you add the two other repositories as remotes:

git remote add elhigu https://github.com/elhigu/fullcalendar.git
git remote add AlbeTech https://github.com/AbleTech/fullcalendar

And afterwards pull their changes to your local copy:

git pull elhigu master
git pull AlbeTech master

That should give you what you need, but be aware that you might get conflicts.

Upvotes: 2

Related Questions