How to Setup Xcode Projects with Github

Pubblicato il: 21 giugno 2014
sul canale di: 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  


In questa pagina del sito puoi guardare il video online How to Setup Xcode Projects with Github della durata di ore minuti seconda in buona qualità , che l'utente ha caricato MicrowaveSam 21 giugno 2014, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 16,740 volte e gli è piaciuto 88 spettatori. Buona visione!