TIL an obscure git flag: --intent-to-add. Adds an empty file at a given path, so you can see new files as diffs: https://stackoverflow.com/q/24329051/509706
Related Posts
I'm experimenting with jj this weekend. It seems pretty nice so far, but the mental model is pretty different from git.
For example, there's no `checkout` command. You do `jj new ABC` to switch to a commit, which creates a new empty commit on top of ABC.
I'm never sure what to name my remotes in git. I tend to use 'mine' so I can add other forks later, but sometimes I use 'gh' or the traditional 'origin'.
What do others use?
Just released a new version of difftastic!
* Verilog support
* Improved Erlang, F#, Gleam, Pascal and Swift
* Better detection of binary files
https://github.com/Wilfred/difftastic/releases/tag/0.64.0