Once you have FatKit as a forked and cloned repository on your machine you can get updates from the FatMedia/Fatkit master with a few commands.
The following only needs to be done the first time you want to sync your master with the FatMedia/FatKit master. If you have already done this before you only need to do this bit instead.
Once you have GitHub installed for your OS you will have the Git Shell, so the first thing to do is open it up.
In the same way you did with Grunt, navigate to the folder of your FatKit cloned repository. For example, for me I would type
Next you need to find out whether you have already have the master repository added to your local. If you have done a fresh install you probably won't, but to check just type
git remote -v. You should see something like the following:
FatMedia https://github.com/FatMedia/FatKit.git (fetch) FatMedia https://github.com/FatMedia/FatKit.git (push) origin https://github.com/ahallicks/FatKit.git (fetch) origin https://github.com/ahallicks/FatKit.git (push)
What we need to do is add the FatKit main repository as an 'upstream' repository for your local one so that it knows where it's master lays. This is done by the typing (or copy/pasting)
git remote add upstream https://github.com/FatMedia/FatKit.git and hitting enter. If you run the
git remote -v again you should now see something like:
FatMedia https://github.com/FatMedia/FatKit.git (fetch) FatMedia https://github.com/FatMedia/FatKit.git (push) origin https://github.com/ahallicks/FatKit.git (fetch) origin https://github.com/ahallicks/FatKit.git (push) upstream https://github.com/FatMedia/FatKit.git (fetch) upstream https://github.com/FatMedia/FatKit.git (push)
This shows that the FatKit master is now referenced in your local repository by the 'upstream' name.
Update from FatMedia/FatKit master
If you have made changes locally use the GitHub app to sync them to your master before merging the main FatMedia/FatKit master repository with your master.
Then we need to check the master by doing
git fetch upstream. This should tell you what currently exists in the 'upstream'
* [new branch] master -> upstream/master. You now need to checkout any changes you have made locally to your own master by typing
git checkout master. This will do a quick commit and let you know any changes between the two.
The final stage is to merge your master with the upstream master. You can probably guess the command for this:
git merge upstream/master. This will show you any files that have changed from the upstream master to yours. Now you can sync your master repository on GitHub with your local clone and all of the changes will be pulled down.