79239030

Date: 2024-11-30 07:50:29
Score: 1.5
Natty:
Report link

I suspect there is no way to do this in git, unless there has been some recent addition. Although the question asked isn't exactly the same, the answers to What is the opposite of `git diff HEAD^`?, Referencing the child of a commit in Git, and How do I find the next commit in Git? (child/children of ref) seem to suggest that there is no way to do this in git.

(Many of the answers erroneously suggest that this is impossible as a matter of principle — but it's not impossible, as git log --oneline --graph --all shows; git just won't let you do it.)

Reasons:
  • Blacklisted phrase (1): How do I
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Wyatt Carpenter