1,IDEA中创建一个maven项目 2、IDEA中创建本地仓库 3,add+commit 4、git中创建一个远程仓库 5、输入远程仓库url & push到远程仓库 转载于:https://www.cnblogs.com/Alan0218/articles/11087185.html