Git & CVS on XCode for project managers

Q: How to create local Git?

1. Either create an empty project, and choose create local git repository in the dialogs.

2. or call “git init" in the folder

Q: How to push to a remote Git?

1. Add the Remote Git in Organizer Remote. (diagram attached)

2. File -> Source Control -> Push. If the local git is not yet committed, Xcode will ask you to commit local git first.

That’s it.

Reference:

http://progit.org/book/

.

發表留言