Skip to content
bmenke92 edited this page Oct 2, 2011 · 4 revisions

How To Set Up the Repository:

  1. Install and Set Up git. Git Setup

  2. Create Blast directory on your machine.

  3. Create a new git repository in Blast.

     git init
    
  4. Link the git repo to the one on GitHub

     git remote add origin git@github.com:Blast-DestructibleTerrainGame/Blast.git
    
  5. 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  
    
  6. 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  
    
  7. Enter into your dev branch

     git checkout YOURNAMEdevelopment
    
  8. Push your branch onto github if you want

     git push origin YOURNAMEdevelopment
    

Clone this wiki locally