git show
is the fastest to type, but shows you the diff as well.
git log -1
is fast and simple.
git log -1 --pretty=%B
if you need just the commit message and nothing else.
More Related Contents:
- Can git automatically switch between spaces and tabs?
- How to do a GitHub pull request
- How to cherry-pick multiple commits
- Removing multiple files from a Git repo that have already been deleted from disk
- fetch in git doesn’t get all branches
- Git pre-commit hook : changed/added files
- How to recover from a git push -force?
- Should “node_modules” folder be included in the git repository
- Unlink of file Failed. Should I try again?
- Add all files to a commit except a single file?
- Push to origin from GitHub action
- How do I view all commits for a specific day?
- Visual Studio Git Source Control without Git for Windows or Github extension
- Restore a deleted folder in a Git repo
- Username and password in command for git push
- “fetch –all” in a git bare repository doesn’t synchronize local branches to the remote ones
- What are the U and M file markers in Visual Studio Code?
- Rebasing and what does one mean by rebasing pushed commits
- How can I rewrite history so that all files, except the ones I already moved, are in a subdirectory?
- How to merge the remote branch and ignore the config setting?
- Remove a git commit which has not been pushed
- How to diff a commit with its parent
- How do I delete a local repository in git? [duplicate]
- Is there a way to cause git-reflog to show a date alongside each entry?
- Exclude file from “git diff”
- How to show Git log history (i.e., all the related commits) for a sub directory of a Git repository
- Get all files that have been modified in git branch
- VS Code / Bitbucket / SSH – Permission denied (publickey)
- How to set up git over http?
- unstaged files gone after git reset –hard