On creating git diffs
#TIL I always thought it wasn't possible to show new files in git diffs, since `git diff` only shows changes on existing files. But you can add your changes to the staging area and use `git diff --cached > diff.patch`! That way you can later restore it with `git apply diff.patch`. It's basically like stashing, but having a file you can share with others :D.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!