Is there way to combine several mods at GitHub..

Post Reply
User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Is there way to combine several mods at GitHub..

by joe7575 » Post

...to one Modpack without giving up all repositories?

By means of "external" attributes or something similar?
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
Linuxdirk
Member
Posts: 3219
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Is there way to combine several mods at GitHub..

by Linuxdirk » Post

Quick web research shows that there are some more or less complicated ways to handle this, but better put them all in one repository and read this :)

If you really want to do it the best way would be setting up another repositrory for that and do the necessary merging and pushing to that repo using Git hooks. Keep your “work repos” local only (never push to remote, just commit) and merge them to the “combined repo” using the post-commit hook to merge the just commited changes to the “combined repo”. Repeat until you’re done, then push the “combined repo” to remote.

… but that’s some nasty shit :)

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: Is there way to combine several mods at GitHub..

by joe7575 » Post

Thanks Linuxdirk,

I've created a new repository and simply committed all mods again.
I will see if this was clever or not :)
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
Hybrid Dog
Member
Posts: 2834
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: Is there way to combine several mods at GitHub..

by Hybrid Dog » Post

You can use git subtree to add the mods. It allows you to add changes to the mods and updating them with git.

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests