-
Notifications
You must be signed in to change notification settings - Fork 1
Git Setup
bmenke92 edited this page Oct 2, 2011
·
4 revisions
How To Set Up the Repository:
-
Install and Set Up git. Git Setup
-
Create Blast directory on your machine.
-
Create a new git repository in Blast.
git init -
Link the git repo to the one on GitHub
git remote add origin git@github.com:Blast-DestructibleTerrainGame/Blast.git -
Pull branches
git pull //This will pull all branches currently in the repository on github git pull origin master //this will only pull the master git pull origin development //this will only pull development -
Create your own branches
git branch development //if not already pulled git branch experimental //your own experimental branch (does not need to be pushed to github) git YOURNAMEdevelopment //your personal development branch -
Enter into your dev branch
git checkout YOURNAMEdevelopment -
Push your branch onto github if you want
git push origin YOURNAMEdevelopment