TIL, monorepo edition:

git checkout --track REPO/BRANCH
git rebase -i main --strategy-option subtree=REPO/

Rebase an original repo's branch into a monorepo folder.

When your team plans to merge two mono-repos into one, but two times, and then maybe merge both as well.

TS error of the day:

TypeError: 'set' on proxy: trap returned falsish for property '0'

TIL, TypeScript edition:

const array = [1, 2, 3]
creates an array with element type "number"

const array = [1, 2, 3] as const
creates an array with type "1 | 2 | 3"

Ich schmeiß mich weg! 🤣🤣 Last One Laughing. Das Witzigste, was ich seit Langem gesehen habe. 10 Comedians werden zusammengefercht, und 6 Stunden darf niemand lachen!! Irre witzig 🤪Danke, Bully!

Das Osterlamm wird geschlachtet!