How to Setup Xcode Projects with Github

Publié le: 21 juin 2014
sur la chaîne: 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  


Sur cette page du site, vous pouvez voir la vidéo en ligne How to Setup Xcode Projects with Github durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur MicrowaveSam 21 juin 2014, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 16,740 fois et il a aimé 88 téléspectateurs. Bon visionnage!