miniblog.
← Back to all posts
Wilfred Hughes
Mar 9, 2017 at 22:22
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
What does git add --intent-to-add or -N do and when should it be used? - Stack Overflow