Sunday, February 22, 2015

Creating a GIT Repo from XC




While at blueprint this weekend my team and I spent a good few hours learning how to connect to github from xcode. To simplify your lives I have explained how to do so below:

  1. Create a new project in xcode and make it a single view application, make sure to check to have a local git repo.



  2. Go to preferences --> accounts and add repository. 


  3. Go to git hub and create a new repo or use an existing repo. Get the HTTPS clone url and paste it as the repository address. 


  4. Enter your git hub account info 
  5. Go to source control and click remotes



  6. add a remote, make sure its called "origin", and paste your address to the git repo 

  7. Edit your project and go to source control and click commit, then select your remote.


  8. You will see your new repo in GitHUB!
































No comments:

Post a Comment

SUBSCRIBE

Pages - Menu

Pages

top social

SUBSCRIBE

About