How to do "git clean" in magit reddit / emacs ---------------------------------------------------------------------- Financial-Bet2253 · 2022-10-13 06:23 For example, we can stage file via pressing 's', but what about "git clean" those untrack files? > Magit 20221008.1927 [>= 3.3.0-git], Git 2.20.1, Emacs 29.0.50, gnu/linux ---------------------------------------------------------------------- reliktary · 2022-10-13 06:37 `magit-clean` should do the thing. Bind it to something if you use it often ---------------------------------------------------------------------- deaddyfreddy · 2022-10-13 12:40 _it was unexpected_ ---------------------------------------------------------------------- lrochfort · 2022-10-13 14:09 You can press 'k' on the untracked files to clean them. Or use magit- clean