command
module
Version:
v0.2.5
Opens a new window with list of versions in this module.
Published: Apr 9, 2026
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
giff
English | 日本語
giff is a terminal-based Git diff viewer. It watches your working tree and shows diffs in real-time.

Install
homebrew:
$ brew install sukechannnn/tap/giff
go install:
$ go install github.com/sukechannnn/giff@latest
build from source:
$ git clone https://github.com/sukechannnn/giff.git
$ cd giff
$ go build -o giff
Usage
$ giff # view current changes
$ giff --watch # watch mode: auto-refresh on file changes
$ giff -v # show version
File List
| Key |
Action |
j / k |
Move cursor |
H / L |
Collapse/expand directory |
a |
Stage/unstage file |
d |
Discard changes |
Ctrl+A |
Stage all |
Ctrl+K |
Commit |
Ctrl+J |
Amend |
s |
Split view |
w |
Hide whitespace |
/ |
Filter files |
v |
Open in $EDITOR |
c |
Open in VS Code |
Ctrl+L |
Git log |
t |
Open terminal (tmux split) |
Enter |
Switch to diff view |
q |
Quit |
Diff View
| Key |
Action |
j / k |
Move cursor |
gg / G |
Top / bottom |
V |
Select lines |
a |
Stage selected lines |
A |
Stage/unstage file |
/ |
Search |
n / N |
Next / prev match |
e |
Toggle fold |
s |
Split view |
w |
Hide whitespace |
y |
Yank lines |
Y |
Copy file path |
Ctrl+L |
Copy path:line |
Ctrl+E / Ctrl+Y |
Scroll |
Esc |
Back to file list |
q |
Quit |
License
MIT
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.