Merging Mods, Collaborating
- Nystul
- Posts: 1501
- Joined: Mon Mar 23, 2015 8:31 am
Re: Merging Mods, Collaborating
I didn't ever delete my fork - just fetch and merge the current state from interkarmas master branch into your branch whenever you start working again and you should be fine
-
- Posts: 195
- Joined: Thu Apr 02, 2015 9:03 am
Re: Merging Mods, Collaborating
Thx for answer, just to make clear, by "fetch and merge" you mean to create a pull request:
ifkopifko/daggerfall-unity <--- Interkarma/daggerfall-unity?
Or is there some other way to do it?
ifkopifko/daggerfall-unity <--- Interkarma/daggerfall-unity?
Or is there some other way to do it?
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Merging Mods, Collaborating
Yes, you can do a pull request from website but this creates an additional merge commit. If you have git installed you can use the terminal to rebase from master instead.
Code: Select all
git pull --rebase upstream master
-
- Posts: 195
- Joined: Thu Apr 02, 2015 9:03 am
Re: Merging Mods, Collaborating
Thx, I have zero experience in using git. I suppose the "rebase" can not be done with GitHub?
So I have installed git right now, and tried your magic...
Seems to have worked, now the code on my HDD is on par with latest Interkarma's code as I understand it.
My question(s) now is, how do I sync my on_HDD repository with my online GitHub repository? Or is this the step I tried to avoid when using rebase, and the only way how to do it is to create an additional commit?
So I have installed git right now, and tried your magic...
Seems to have worked, now the code on my HDD is on par with latest Interkarma's code as I understand it.
My question(s) now is, how do I sync my on_HDD repository with my online GitHub repository? Or is this the step I tried to avoid when using rebase, and the only way how to do it is to create an additional commit?
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Merging Mods, Collaborating
Now you have to push to origin, which can easily be done from client UI. You should have a button called Sync or Publish Branch, depending on version
Just to be sure, is this what you have installed?
Just to be sure, is this what you have installed?
-
- Posts: 195
- Joined: Thu Apr 02, 2015 9:03 am
Re: Merging Mods, Collaborating
Aaaah, in my previous post when I wrote GitHub, I meant GitHub Desktop, the thing you linked. And to do the rebase I also installed Git, since I have not seen any option like that in GitHub Desktop.
Ok, syncing worked, thanks for the help.
BTW: What does it mean when in GitHub web I see "This branch is 3 commits ahead of Interkarma:master." ?
Ok, syncing worked, thanks for the help.
BTW: What does it mean when in GitHub web I see "This branch is 3 commits ahead of Interkarma:master." ?
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Merging Mods, Collaborating
You can access git within the desktop client from repository>open in command prompt. You can also change it from options to use powershell instead.
Try to open a new pull request to Interkarma:master (without confirming it), it should tell you which are these 3 commits.