美文网首页
在Intellij Idea中上传自己的项目到Github

在Intellij Idea中上传自己的项目到Github

作者: 鸣鸣是你爱吃鱼 | 来源:发表于2017-09-24 20:06 被阅读0次

1、首先在github上创建一个远程仓库

1.png
2、然后再Idea中打开控制台(Terminal)
2.png
3、输入git命令:
git init
git add .
git commit -m 'first'
git remote add origin https://github.com/fikyair/SSM.git
(ps:新建的仓库地址)
git push origin master
4、等待上传就好了。
5、在github上刷新一下就看到自己的本地项目了

相关文章

网友评论

      本文标题:在Intellij Idea中上传自己的项目到Github

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