How to list commits since certain commit?
git rev-list <since_hash>..HEAD
or to include the commit:
git rev-list <since_hash>^..HEAD
You can use git log
instead of git rev-list
as well to get additional details.
git log <hash>..
Is the least amount of typing. Omitting "HEAD" assumes that's what you meant. Rev-list would work too.
You can run the following git command from the shell:
git log --pretty=oneline commit-id...HEAD
Assuming that by "commit number", you mean commit hash:
git log <commit-hash>..HEAD