idea git的使用:新建文件、修改文件后提交、推送 作者:马育民 • 2021-01-20 23:03 • 阅读:10091 # 新建文件、修改文件 如下图 [![](https://www.malaoshi.top/upload/pic/git/QQ20210120230122.png)](https://www.malaoshi.top/upload/pic/git/QQ20210120230122.png) # 提交到本地库 ### 方式一 [![](https://www.malaoshi.top/upload/pic/git/QQ20210120230206.png)](https://www.malaoshi.top/upload/pic/git/QQ20210120230206.png) ### 方式二 [![](https://www.malaoshi.top/upload/pic/git/QQ20210120230236.png)](https://www.malaoshi.top/upload/pic/git/QQ20210120230236.png) ### 方式三 [![](https://www.malaoshi.top/upload/pic/git/QQ20210120230254.png)](https://www.malaoshi.top/upload/pic/git/QQ20210120230254.png) # 提交对话框 勾选要提交的文件(不提交的文件不要勾选),按下图操作,然后点击 【commit】 [![](https://www.malaoshi.top/upload/pic/git/QQ20210120231057.png)](https://www.malaoshi.top/upload/pic/git/QQ20210120231057.png) # 推送到远程库 ### 方式一 [![](https://www.malaoshi.top/upload/pic/git/QQ20210120231518.png)](https://www.malaoshi.top/upload/pic/git/QQ20210120231518.png) ### 方式二 [![](https://www.malaoshi.top/upload/pic/git/QQ20210120231617.png)](https://www.malaoshi.top/upload/pic/git/QQ20210120231617.png) # 推送对话框 [![](https://www.malaoshi.top/upload/pic/git/QQ20210120231947.png)](https://www.malaoshi.top/upload/pic/git/QQ20210120231947.png) 原文出处:http://malaoshi.top/show_1IXRW2HCCk7.html