没有项目文件可以提交
在**View -> Tool Windows ->Terminal **打开之后 输一下这条指令 git branch --set-upstream-to=origin/master master你可以试试这个 如果不行再百度看看