Tech tutorials, tips, tools and more
Navigation
Home
Tutorials
CSS tutorials & examples
CSS properties
Javascript cookbook
Linux/Unix Command Line
Mac
PHP
PHP functions online
PHP regex
WordPress
Online Tools
Text utilities
Online Lint Tools
Home
>
Tutorials
>
Git
Git – display specific length commit hash
on
Mar 5, 2017
Display last commit from head to with specific commit hash length
$ git log --pretty=format:"%h" --abbrev=7 -1 97d79ec
Suggested posts:
Git display info of last commit (HEAD) in one line
Git – how to view diff for a given commit id
Git – how to undo last commit
Git show details of a commit hash
Git display local HEAD location
svn – how to undo last commit
How to display wordpress page list with specific custom field value
CSS – !important examples
Share this article:
Posted in
Tutorials
| Tagged
Git
,
Tutorials
Browse content
Article Topics
Article archives
Contact Us