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