Saturday, 25 May 2013

Creating a GitHub Fork in order to commit changes to PartyCraft

After posting Minecraft In-Game C# REPL I was curious on how it worked, so I quickly created a local clone of the https://github.com/SirCmpwn/PartyCraft repo and opened up the main Solution file in VisualStudio 2010.

PartiCraft has a couple Submodules, so the VisualStudio load process had a couple missing projects.

The problem is that after updating the two required submodules, the project references/paths where still wrong.

The fixes where easy (path changes and re-adding the references) which when done allowed the C# based Minecraft server to fire up ok.

But this meant that my local clone was out of sync with GitHub, and since I din't have push privileges into the main PartyCraft repo, I needed to push my changes into my own fork.


Here is how I create a new Fork and pushed my Commit to it:

Open https://github.com/SirCmpwn/PartyCraft  and click on the Fork button

image

Chose my personal GitHub account as the place to put the Fork:

image

GitHub forked the PartyCraft repository:

image

When done, I copied the Git address ( git@github.com:DinisCruz/PartyCraft.git )

image

And executed git remote add fork git@github.com:DinisCruz/PartyCraft.git on a local git bash of the PartyCraft repo

image

Where I had commited

image

these changes

image

which I pushed into my Fork like this:

image

Here are the commit at GitHub

image

Here is the issue I submitted to the main repo of PartyCraft

image