What does the merge do here?
$ git log --oneline --graph --all * 259a50d (feat) B * d24999e (HEAD -> main) A $ git merge feat
- Copies
Bas a new commit onmain - Moves
mainforward to259a50d - Rebases
featontomain - Creates a merge commit with two parents
main has no commits that feat lacks, so Git performs a fast-forward: it just moves the branch pointer. No merge commit is made.