發表於 程式分享

xcode使用github

1.申請好github帳號

2.XCode Project -> Preferences -> Accounts -> 新增github帳號

3.XCode Project -> Show the source controle navigator -> Create “Project Name" Remote 以設定專案對應至github專案

4.XCode Project -> 改原始檔案內容

5.XCode Project -> Source Control -> Commit

6.XCode Project -> Source Control -> Push 將更新好的原始檔推送至github

 

版控常識

1.Init working directory

2.add

3.commit

4.push

5.pull(非首次) / clone(首次) remote repository