How to Setup Xcode Projects with Github

Опубликовано: 21 Июнь 2014
на канале: MicrowaveSam
16,740
88

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  


На этой странице сайта вы можете посмотреть видео онлайн How to Setup Xcode Projects with Github длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь MicrowaveSam 21 Июнь 2014, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 16,740 раз и оно понравилось 88 зрителям. Приятного просмотра!