美文网首页cocoapods svn git
终端提交代码到github

终端提交代码到github

作者: coderJerry01 | 来源:发表于2016-06-29 12:23 被阅读23次

首页需要在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

然后就是等待了。

相关文章

网友评论

    本文标题:终端提交代码到github

    本文链接:https://www.haomeiwen.com/subject/ifcxjttx.html