Tag Archives: git windows ls-files add

Add untracked files to git recursively

Have you ever needed to add all of the untracked files to git but due to your .gitignore file’s settings your files are not added when you do:

“git add .”

Use this command:

“git ls-files –others .\build\tools | xargs git add -f”



Leave a comment

Posted by on October 4, 2013 in Uncategorized