Many people use
nixpkgs as a git submodule with some commits of their own on top, and wonder how to effectively review changes after rebasing on a newer nixpkgs commit.
After getting this question many times, I wrote down with an explanation picture of how to do it using
The explanation uses nixpkgs as an example:
It also works for “just rebases”, not only submodules.