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:
- Create a new project in xcode and make it a single view application, make sure to check to have a local git repo.
- Go to preferences --> accounts and add repository.
- 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.
- Enter your git hub account info
- Go to source control and click remotes
- add a remote, make sure its called "origin", and paste your address to the git repo
- Edit your project and go to source control and click commit, then select your remote.
- You will see your new repo in GitHUB!
No comments:
Post a Comment