- Published on
How to get the very first commit in a Git Repo
- Authors
- Name
- universeroc
- @universeroc
git log --reverse
You can not use --reverse
and -1
at the same time!
The first commit of git commit --reverse
is which you want.
git log --reverse
You can not use --reverse
and -1
at the same time!
The first commit of git commit --reverse
is which you want.