Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to untrack all deleted files in Git

What's the command to untrack all deleted files in Git?

I know there's a command to untrack a file by name (git rm myfile)

But I'd like to untrack all the deleted files, without caring about how they're named.

like image 503
John Smith Optional Avatar asked Aug 31 '13 14:08

John Smith Optional


1 Answers

In the newer versions of git, those files are automatically untracked with git add --update.

like image 119
125_m_125 Avatar answered Oct 25 '22 12:10

125_m_125