如果你只是想自己一个人本地玩转天下,那接下来教程应该不适合你。
因为我们是团队team~~~
链接Github官网,让自己的代码上传到线上,与其他队友进行修改
在Github新建版本库
添加远程git remote add origin git@github.com:michaelliao/learngit.git
在Github官网新建一个版本库
![](https://img.haomeiwen.com/i2897583/8e17784d74f005af.png)
![](https://img.haomeiwen.com/i2897583/d9d2ad2632014833.png)
![](https://img.haomeiwen.com/i2897583/46325ef065091c9b.png)
当你新建完之后,当前目录是还没有东西的~~ ,这个时候,就得用到Git工具了(几个小时没有讲到Git了,好怀念阿~)
添加远程
git remote add origin git@github.com:michaelliao/learngit.git
![](https://img.haomeiwen.com/i2897583/1059210b86eda36b.png)
打入进去没有报什么错误的话,那就没有什么事情发生~
网友评论