serhii.net

In the middle of the desert you can say anything you want

15 Jan 2025

Git removing untracked broken files

TL;DR:
git clean -d -f .

If a broken clone / switch leaves stray broken files: error: The following untracked working tree files would be overwritten by checkout:, that fixes it.1

Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus