File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
10
10
For a steady stream of TILs from a variety of rocketeers, checkout
11
11
[ til.hashrocket.com] ( https://til.hashrocket.com/ ) .
12
12
13
- _ 748 TILs and counting..._
13
+ _ 749 TILs and counting..._
14
14
15
15
---
16
16
@@ -199,6 +199,7 @@ _748 TILs and counting..._
199
199
- [ Resetting A Reset] ( git/resetting-a-reset.md )
200
200
- [ Show All Commits For A File Beyond Renaming] ( git/show-all-commits-for-a-file-beyond-renaming.md )
201
201
- [ Show Changes For Files That Match A Pattern] ( git/show-changes-for-files-that-match-a-pattern.md )
202
+ - [ Show Changes In The Compose Commit Message View] ( git/show-changes-in-the-compose-commit-message-view.md )
202
203
- [ Show File Diffs When Viewing Git Log] ( git/show-file-diffs-when-viewing-git-log.md )
203
204
- [ Show List Of Most Recently Committed Branches] ( git/show-list-of-most-recently-committed-branches.md )
204
205
- [ Show The diffstat Summary Of A Commit] ( git/show-the-diffstat-summary-of-a-commit.md )
Original file line number Diff line number Diff line change
1
+ # Show Changes In The Compose Commit Message View
2
+
3
+ When you execute ` git commit ` , you'll be dropped into your default editor
4
+ and prompted to compose a commit message. By default you'll only see the
5
+ status and names of the files involved in the commit.
6
+
7
+ To also see the line-by-line-changes in this view, you'll want to commit in
8
+ verbose mode.
9
+
10
+ ``` bash
11
+ $ git commit --verbose
12
+ ```
13
+
14
+ You can also set verbose mode as the default by updating your ` ~/.gitconfig `
15
+ file.
16
+
17
+ ```
18
+ [commit]
19
+ verbose = true
20
+ ```
21
+
22
+ [ source] ( https://stackoverflow.com/questions/5875275/git-commit-v-by-default )
You can’t perform that action at this time.
0 commit comments