git - Remove Emacs backup files with .gitignore recursively
问题描述
I've set up a boilerplate .gitignore file in my git repository. When using Emacs it creates backup files. I want to remove these recursively. I've tested added:
*~
But that only removes the files ending with ~
in the root directory. How can I change it to remove recursively?
解决方案
推荐阅读
- python - 在 Python Selenium 的新选项卡中打开元素(url)
- javascript - 如何防止用户登录多个设备php
- javascript - setInterval 在 return 语句后继续运行
- javascript - 为什么我的 js 代码在循环时会跳过数组的第一行?
- pytorch - ONNX 模型推理对相同的输入产生不同的结果
- react-quill - ReactQuill 默认字体(无衬线、衬线和等宽)不起作用
- python - 可能有一个带有数据描述符的受密码保护/弱加密的 ZIP 文件吗?
- node.js - 为什么我的模块 ddos 有一个错误绑定未在 node.js 中定义
- reactjs - 用户输入表单并将数据发送到 Python 后端的数据
- javascript - 无法在从 MS Graph 接收到的用户对象上使用 response.json()