Julia Evans on Nostr: let's imagine you're resolving this merge conflict (in screenshot). You've forgotten ...
let's imagine you're resolving this merge conflict (in screenshot).
You've forgotten which code comes from your current branch and which one comes from the "other" branch. How do you figure it out? Do you:
* remember what the "top" and "bottom" parts correspond to from past merge conflicts?
* remember what `HEAD` means?
* read the last line of the merge conflict?
* run something like `git show main` or `git diff mybranch..main` to see the diff?
* something else?
You've forgotten which code comes from your current branch and which one comes from the "other" branch. How do you figure it out? Do you:
* remember what the "top" and "bottom" parts correspond to from past merge conflicts?
* remember what `HEAD` means?
* read the last line of the merge conflict?
* run something like `git show main` or `git diff mybranch..main` to see the diff?
* something else?