You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introducing `show` as a new subcommand of `forgit`, an interactive
version of `git show`. The configured default alias is `gso`.
Alt-T can be used to toggle between showing the diff and the commit
message in the fzf preview window.
The new command in used instead of `forgit diff` when pressing enter
in `forgit log`. This fixes the display of diffs for merge commits.
**Note**: we have a requirement for the `fzf` version now. The minimum
required `fzf` version is 0.49.0. If the installed version is lower,
forgit will exit with an error message.
Fixes#416.
Copy file name to clipboardExpand all lines: README.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,13 @@ It's **lightweight** and **easy to use**.
29
29
30
30
# 📥 Installation
31
31
32
-
*Make sure you have [`fzf`](https://github.com/junegunn/fzf) installed.*
32
+
## Requirements
33
+
34
+
-[`fzf`](https://github.com/junegunn/fzf) version `0.49.0` or higher
35
+
36
+
If your OS package manager bundles an older version of `fzf`, you might install it using [`fzf`'s own install script'](https://github.com/junegunn/fzf?tab=readme-ov-file#using-git).
37
+
38
+
## Shell package managers
33
39
34
40
```zsh
35
41
# for zplug
@@ -101,6 +107,8 @@ Then add the following to your shell's config file:
101
107
102
108
-**Interactive `git diff` viewer** (`gd`)
103
109
110
+
-**Interactive `git show` viewer** (`gso`)
111
+
104
112
-**Interactive `git reset HEAD <file>` selector** (`grh`)
0 commit comments