E
E
ewgRa2011-10-28 14:30:14
git
ewgRa, 2011-10-28 14:30:14

How to specify commit + 1 in git?

To specify the previous commit relative to a commit, you can use git show COMMIT~1

But how to specify the next one?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evengard, 2011-10-28
@Evengard

If I understand the git structure correctly, then this is impossible. For the simple reason that one parent can have two or more children.
However, it seems like you can still look at it if you wish, using git log –graph - however, this is a bit not what you need ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question