O.F.K.

Today is in Ornellember time format.

Notes/TIL: git clean -fdx

Published (gregorian) (ornellember)

Tags: tech

git

Jump ahead:

I am working in a Typescript monorepo. On top of all the node_modules everywhere, there are also generated files, like copied over tsconfigs etc. I needed to clear all those out because it seemed something was off with dependencies. I just learned about git clean -fdx, which resets the repo to only the files tracked in git. Pretty neat!

It’s close to what I do with worktrees anyway - at some point I should write about my use of worktrees and maybe publish a couple of my lil custom scripts.