Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Self-Destructing Message iPhone App Designing and Starting the App A Storyboard with a Tab Bar Controller

Marie Veverka
Marie Veverka
12,117 Points

Pushing Xcode Repository to Remote Repo?

Hi there!

I noticed that each time we start an iOS app project, we are initializing a local repository with Git. Just out of curiosity, how do I create a remote repo for these projects and push them up to Git Hub? Also, is there any reason I should refrain from pushing them up there? Thanks!

2 Answers

Eric Gu
Eric Gu
3,871 Points

You have to set up an account with Github.

Then after the setup, you must create a new repository. Then paste the link to the remote configuration in XCode.

Follow this video: https://www.youtube.com/watch?v=s7W7jyR0Uek

Marie Veverka
Marie Veverka
12,117 Points

Thanks Eric! I still seem to be doing something wrong because they are not showing up in my github account . . .but I'll 'git' it yet. Thanks again!