Since git version 1.7.6, git config has gained a log.abbrevCommit option which can be set to true. Thus the answer is upgrade to at least 1.7.6 (current as of this writing is 1.7.11.4) and use:
git config --global log.abbrevCommit true
More Related Contents:
- Git log output to XML, JSON, or YAML?
- PowerShell Capture Git Output
- The shortest possible output from git log containing author and date
- Viewing unpushed Git commits
- Download a specific tag with Git
- How to compare files from two different branches
- What should be in my .gitignore for an Android Studio project?
- How to specify the private SSH-key to use when executing shell command on Git?
- Undoing a ‘git push’
- Handle git branching for test and production
- How to remove a dangling commit from GitHub?
- Import existing source code to GitHub
- What are .git/info/grafts for?
- gpg failed to sign the data fatal: failed to write commit object [Git 2.10.0]
- Push commits to another branch
- Is there a way to put multiple projects in a git repository? [closed]
- How to determine if Git handles a file as binary or as text?
- How to enter command with password for git pull?
- How do I disable git’s credential helper for a single repository?
- Merge changes from remote github repository to your local repository
- How to perform better document version control on Excel files and SQL schema files
- How can I pass git SHA1 to compiler as definition using cmake?
- Does TortoiseGit actually make Git a lot easier to use like TortoiseSVN? [closed]
- Git mergetool generates unwanted .orig files
- git push heroku master says “Everything up-to-date”, but the app is not current
- Aborting commit due to empty commit message
- Git: How to make outer repository and embedded repository work as common/standalone repository?
- Why do excluded files keep reappearing in my git sparse checkout?
- How to push different local Git branches to Heroku/master
- SSH Agent Forwarding with Ansible