自己本地目录结构: 执行:git rm -r -cached postgresql-generation执行:git commit -m ‘删除了postgresql-generation’(提交说明)执行:git push -u origin master 删除成功。