se491
// adding xcode project to github // create git repo on github // go to directory with .xcodeproj file
git init git add . git commit -m 'initial commit' git remote add origin [email protected]:Rahmo/GasPedlr.git git pull origin master git push origin master
/n
git remote -v // shows the branches that you re connected to
/n
To make changes :
-
go to the current location cd [project location]
-
git add . // this add the current files to track location
-
git commit -m ‘any comment’ //this will have a commit b4 doing changes
-
git pull orignin master
-
git push origin master
http://git-scm.com/book/ch2-5.html
To update you repo to the origin
- go to your local repo cd [your folder]
- git pull origin master