“Удалить отслеживаемые файлы git” Ответ

git игнорировать все еще отслеживание

git rm --cached <file>

git rm -r --cached <folder>
Gorgeous Goldfinch

git удалить из репо и перестать отслеживать

Update your . gitignore file – for instance, add a folder you don't want to track to . gitignore .
git rm -r --cached . – Remove all tracked files, including wanted and unwanted. Your code will be safe as long as you have saved locally.
git add . – All files will be added back in, except those in . gitignore .
Fierce Flatworm

Удалить отслеживаемые файлы git

git rm --cached <file>
Joyous Jellyfish

Очистить отслеживаемые файлы от git

git rm -r --cached src/.history/
Yucky Yacare

Ответы похожие на “Удалить отслеживаемые файлы git”

Вопросы похожие на “Удалить отслеживаемые файлы git”

Больше похожих ответов на “Удалить отслеживаемые файлы git” по Shell/Bash

Смотреть популярные ответы по языку

Смотреть другие языки программирования