1
回答
本地新建的项目,怎么推送到码云
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

我是用IDEA开发工具建了一个maven的项目,然后在VCS选项里启用了VCS并选择使用git.

随后在码云建了一个项目,跟我本地的项目同名.然后通过IDE push代码的时候,远程不能选master分支,否则就push不成功.有谁遇到过吗?

17:36:08 Maven projects need to be imported: Import Changes Enable Auto-Import
17:44:23 Compilation completed successfully in 7s 295ms
17:44:59 Compilation completed successfully in 6s 26ms
18:13:00 Created Git repository in F:\mycode\sprint-boot-demo
18:14:22 3 files committed: spring boot hello world
18:17:05 Push rejected: Push to master/master was rejected
18:17:33 Push rejected: Push to master/master was rejected
18:20:29 Push rejected: Push to master/master was rejected



举报
gm100861
发帖于1年前 1回/6K+阅
顶部