首頁需要在github上創建一個倉庫,這個就不要介紹了吧:然后在終端需要執行的命令
1. cd (工程的路徑,可以直接拖到終端下)
2. git init
3.?git?add?.
4.?git?commit?-m”第N次提交(隨意寫)"
5. git remote add origin https://github.com/pkyeck/socket.IO-objc(是你創建的倉庫的鏈接)
6.?git?pull?origin?master
7.?git?push?-u?origin?master
然后就是等待了。