An unordered repository of stuff I tend to forget.
<base>
(e.g. main
) and current state of branch (called <branch>/<branch name>
): git diff `git merge-base <base> <branch>/<branch name>` <branch>/<branch name>
clang-format <file>
shows re-formatted fileclang-format -i <file>
reformats file in-place