This repository has been archived by the owner on Sep 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Compiling
Beau Hastings edited this page Oct 18, 2015
·
1 revision
Setting up:
git config --global user.name $YOU
git config --global user.email you@example.com
Fork the repo on GitHub then clone it locally and set up your pushurl.
git clone git://github.com/$YOU/TerrariaAPI-Server.git
cd TerrariaAPI-Server
git config remote.origin.pushurl git@github.com:$YOU/TerrariaAPI-Server.git
Now add upstream so you can track it:
git remote add upstream -f git://github.com/hastinbe/TerrariaAPI-Server.git
Do the same for any other repos you want to track.
Now sync with upstream:
git fetch --all
git checkout upstream/bleed
To work on something:
git checkout -b myfeature
... hack, add, commit ...
Before publishing your changes it's a good idea to rebase
them up to the latest upstream version:
git fetch --all
git rebase upstream/bleed
Now test that it still works. If so publish your changes:
git push origin myfeature
Developers 🔧