使用IntelliJ IDEA如何连接Github并上传项目

使用IntelliJ IDEA如何连接Github并上传项目

新建Project

image

直接下一步

image

自定义项目名及存储路径

image

设置Git路径

image

登录Github

image

登录成功

image

本地创建仓库

image

将仓库推送到Github

image

填写推送相关信息(是否私有、分支、仓库描述)

image

首次推送

image

查看Github是否推送成功

image

git add -A

image

git commit -m "message"

image

git push,推送本地改动到远程

image

总结

通过上述操作,即可将IntelliJ IDEA与远程Github连接起来,随时将我们所做工作推送到Github保存,不用担心迁移的问题~

发布了104 篇原创文章 · 获赞 69 · 访问量 13万+

猜你喜欢

转载自blog.csdn.net/github_39655029/article/details/103686431