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 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
    

If you can open up .git/info/exclude in NotePad and overwrite everything with this

# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~

*.o
*.DS_Store
*.obj
*.opensdf
*.pdb
Obj/
ipch/
*.suo 
*.sdf 

This tells git to ignore these files.

Clone this wiki locally