30 ms·
I wish there was some happy medium, like that I can merge a branch and it gets squashed into a single commit, but then if needed I can 'expand' that commit to s
by 0xcoffee 9y ago
I wish there was some happy medium, like that I can merge a branch and it gets squashed into a single commit, but then if needed I can 'expand' that commit to see its contents, even after the other branch is deleted.
- falsedan 9y agoThat’s a rebased branch. You can see just the changed introduced by a branch: MERGE_COMMIT=$(git rev-parse :/“Merge .*$branchname”) git diff $MERGE_COMMIT^1..$MERGE_COMMIT^2 It never occurred to me that people prefer to squash so they can avoid the crummy UI of git diff