执行如下命令即可

git update-index --assume-unchanged  src/main/resources/application.properties