Up to now I know two ways to address a commit in git:
- via commit-hash
- via name of a branch
Is there a way to address a commit-hash inside an existing branch?
If I do checkout a commit-hash then I am not on a branch.
If I checkout a branch, then I always get to the latest commit of this branch.
How to address a commit inside a branch?