UNIVERSEROC
BlogTagsProjectsAbout
Home
Blog
Tags
Projects
About
Published on
Thursday, April 27, 2023

How to get the very first commit in a Git Repo

Authors
  • avatar
    Name
    universeroc
    Twitter
    @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.

Discuss on Twitter • View on GitHub

Tags

git

Previous Article

Github Repos I Starred

Next Article

How To Analyse Disk Usage In Command Line Linux
← Back to the blog
mailgithubfacebookyoutubelinkedintwitter
universeroc
•
© 2024
•
universeroc | You are what you read, you are what you say