How to set up an SCM in Xcode?

前端 未结 3 1654
心在旅途
心在旅途 2020-12-20 21:26

I know Xcode can be hooked up to an SCM. But how would I set this up from scratch? How to check out / commit files into that, after setting it up?

3条回答
  •  萌比男神i
    2020-12-20 21:39

    Once it is set up, several new menu items appear in the SCM menu. You can right-click over specific filenames and perform some SCM operations that way.

    You can also right-click over "Groups & Files" and enable "SCM" there, which will show which files are new or modified.

    I never used Xcode's SCM features for anything more than to see what files I've modified, a feature that only helped me find the code I was currently fixing. For all the updates & commits, I would use the command line, but that's a personal preference. I'm a long-time command-line CVS and SVN user. It is faster for me on the command line.

提交回复
热议问题