1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-06 00:28:01 +00:00

Add Show Changes In The Compose Commit Message View as a git til

This commit is contained in:
jbranchaud
2019-01-30 12:37:01 -06:00
parent dd55565743
commit c4c029a8a2
2 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
# Show Changes In The Compose Commit Message View
When you execute `git commit`, you'll be dropped into your default editor
and prompted to compose a commit message. By default you'll only see the
status and names of the files involved in the commit.
To also see the line-by-line-changes in this view, you'll want to commit in
verbose mode.
```bash
$ git commit --verbose
```
You can also set verbose mode as the default by updating your `~/.gitconfig`
file.
```
[commit]
verbose = true
```
[source](https://stackoverflow.com/questions/5875275/git-commit-v-by-default)