首页 > 解决方案 > 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?

标签: git

解决方案


推荐阅读