Skip to content

Commit 868190a

Browse files
UnsolvedCypherMatthew McMillan
andauthored
Add gdg to diff with git's built-in tool when an external tool is the default (#108)
Co-authored-by: Matthew McMillan <[email protected]>
1 parent 6336017 commit 868190a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ gunwip # restore work in progress
176176
| gdw | `git diff --word-diff` |
177177
| gdwc | `git diff --word-diff --cached` |
178178
| gdto | `git difftool` |
179+
| gdg | `git diff --no-ext-diff` |
179180
| gdv | pipe `git diff` to `view` command |
180181

181182
### Flow

functions/__git.init.fish

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ function __git.init
6565
__git.create_abbr gdw git diff --word-diff
6666
__git.create_abbr gdwc git diff --word-diff --cached
6767
__git.create_abbr gdto git difftool
68+
__git.create_abbr gdg git diff --no-ext-diff
6869
__git.create_abbr gignore git update-index --assume-unchanged
6970
__git.create_abbr gf git fetch
7071
__git.create_abbr gfa git fetch --all --prune

0 commit comments

Comments
 (0)