I am working in a company which now adds a new worker to help me to work with my existing Xcode project.
As I understand, it will require both of us to work in a team using Git or SVN.
1) How do I convert my existing project to have local/remote git? (I have opened my project WITHOUT including a local git to it).
2) Maybe I misunderstand, but if I include my project to a remote git, i.e. to github repository, does not it mean everyone in the world will see my code? I need only me and the new worker to see and work on the code. This is a private project. How do I do it properly?
I will be working in a team for the first time developing an iOS application, so I am sorry for such beginner’s questions 🙂
Please advise.
Thanks!
to initialize git repository just go to project folder in Terminal and run
it will create local git repository for you and you can commit your code in it. To ‘connect’ it to remote repository run
and then push your changes
To have private repository on Github that can be shared only with your team members you need to subscribe to some of its paid plans. There’s also some other options that provide free private repositories, e.g. Bitbucket