79132935

Date: 2024-10-28 10:22:57
Score: 3
Natty:
Report link

A perhaps simpler (recent) alternative (mine): https://stackoverflow.com/a/79132926/2039709

git merge-base main $1 \
| xargs -I{} git branch --sort=creatordate --contains {} \
| grep -Ev "main|$1" \
| head -n 1
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user2039709