How to Set-up Xcode Projects with Github
Instructions:
Download git-scm (Git Shell):
http://git-scm.com/download/mac
Search for Security & Privacy to open if your Mac detects as an unidentified file
Install Git-scm
Github:
https://github.com/
Sign up and log-in to your Github account
Create a new repository with initialization of a README and Objective-C gitignore
Appstore to get Xcode
Create new project in Xcode with create a git repository
cd Documents/iOSGithub
git init
git remote add http://github.com/USERNAME/NAMEOFGITH...
git pull origin master
I to insert in the terminal text editor
Press escape (ESC), then type :x to save the merge
If you want to add files from local to git later,
git add *
OR
git add NAMEOFFILES
git commit -m "MESSAGE"
git push origin master
After initially setting up and merging the local and git repositories, you can now use Source Control tool on Xcode
Source Control can configure settings on Git, commit, push, and pull. Also, you can create new branches.
Add a change, then go to source control, write a message, and commit. Make sure to check commit to origin master to put up files to Github, and press the button to push and upload those files.
Twitter: / microwavesam
On this page of the site you can watch the video online How to Setup Xcode Projects with Github with a duration of hours minute second in good quality, which was uploaded by the user MicrowaveSam 21 June 2014, share the link with friends and acquaintances, this video has already been watched 16,740 times on youtube and it was liked by 88 viewers. Enjoy your viewing!