ref^ refers to the commit before ref. What about getting the commit after ref?

For example, if I git checkout 12345, how do I check out the next commit?

PS: Yes, Git’s a DAG node pointer struct tree whatever. How do I find the commit after this one?

17 Answers
17

Leave a Reply

Your email address will not be published. Required fields are marked *