26.1. Finding commits that are no longer visible on a branch
If you reset the branch pointer of a branch to a certain commit, the
git log
commands does not show the commits which exist after this branch pointer. For example assume you have two commits A→ B, where B is the commit after A. You if you reset your branch pointer to A, the git log
command does not include B anymore.
Commits like B can still be found via the
git reflog
command.
0 comments:
Post a Comment