首先要保证idea中已经登录了gitee的账户 ①git checkout xxx xxx表示当前的分支 ②git add<要push的文件> ③git commit - m "注释" ④git push xxx