项目右键git--add
项目右键git-- Commit Directory
注意:要选择commit and push
原文出处:https://blog.csdn.net/tangcv/article/details/80707068