git add . git commit -m "comment" git push -u origin yuhanyao Everything up-to-date Branch ‘yuhanyao’ set up to track remote branch 错错误 出现这个问题的根本原因在于推送的分支没有做commit操作,直接原因是,在idea整合是错误的创建了一个分支*(no branch) 并一直在该分支下执行push master指令。