--- tags: - зрелость/🌳 date: "[[2023-08-31]]" parents: - "[[Скрипты для Git]]" zero-link: - "[[00 Разработка]]" article: https://note.struchkov.dev/udalieniie/ --- Симптомы: Есть незакомиченный файл, который мешает гиту. Файл называется .DS_Store. При этом его никак нельзя найти. Чтобы удалить этот файл нужно выполнить следующие команды: ```shell find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch ``` ```shell git rm --cached .DS_Store ``` ```shell git add . ``` ```shell git commit -m "Remove .DS_Store from current directory" ```