git add +需要提交的文件 //提交到暂存区
git stash -u -k //忽略其他,关键一步
git status //可以看到只有一个文件需要commit
git commit -m 'es升级配置文件' //提交暂存区
git pull //拉去合并
git push //推到远端仓库
git stash pop //还原本地配置
git add +需要提交的文件 //提交到暂存区
git stash -u -k //忽略其他,关键一步
git status //可以看到只有一个文件需要commit
git commit -m 'es升级配置文件' //提交暂存区
git pull //拉去合并
git push //推到远端仓库
git stash pop //还原本地配置