gh-f
🔎 the ultimate compact fzf gh extension (by gennaro-tedesco)
riff
A diff filter highlighting which line parts have changed (by walles)
Our great sponsors
gh-f | riff | |
---|---|---|
17 | 4 | |
243 | 184 | |
- | - | |
5.8 | 9.5 | |
about 1 month ago | 3 days ago | |
Shell | Rust | |
The Unlicense | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gh-f
Posts with mentions or reviews of gh-f.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-15.
-
gh-f adds diff per filetype and other small improvements
gh-f is a GitHub CLI extension that I wrote that does all-things-fzf for git. From time to time I add new small features or quality of life adjustments :).
-
fzf is so powerful when you use it well ! code/files/tags/git history
If you are into github CLI extensions, check out the ultimate fzf git extension: gh-f (unrelated to neovim, but shamelessy I am the author).
-
Git workflow
I deal with most of my git workflow from terminal simply because I find git to be easiest to use from the command line, where each command is verbose enough for you to understand what you are doing, and so is its output. Lately, with the introduction of the gh CLI things have gotten even easier, and all the workflow of branches, PRs, releases, runs and so forth is easily handled via command line as well: I wrote gh-f, an extension that integrates gh with fzf and you're good to go at the speed of light.
-
gh-f stable release 1.0.0
I have worked on gh-f for about one year and I have now reached the point where I consider it to be stable and robust enough to award it a full 1.0.0 release.
-
A Better Git Diff with Delta
You may want to check out gh-f, where most of the functions/alias shown in the videos are packaged as gh CLI extension.
-
CLI to Search, Preview, & Check Out a GitHub PR
Nice, wasn't aware of that. Enjoying looking at the code underneath https://github.com/gennaro-tedesco/gh-f/blob/master/gh-f
-
Is there a TUI version of Github?
gh cli with some gh extensions, like gh-f, gh-s, and gh-i, can get you most of the way there
-
If you could chose only one, would you choose "vim-fugitive" or "lazygit", and why?
If you are interesting in cherrypicking (and much more) you may want to have a look at gh-f, a GitHub CLI extension that works with fzf (in particular look at gh f -k)
-
gh-f: now grep through revision history!
Another feature added to gh-f: grep regex pattern through revision history. What about that piece of code you deleted, and now you want to quickly check the old revision file to copy and paste? Say no more: prompt for regex pattern, choose the file name, browse the revision history with preview and show the old file containing the piece of code you are after!
riff
Posts with mentions or reviews of riff.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-06.
-
Introducing Riff, a Nix-based tool for automatically providing external dependencies to Rust projects
There is rust diff app called riff https://github.com/walles/riff
-
A Better Git Diff with Delta
Ohh I've not heard of riff, I'll need to check that out. Thanks for the heads up! https://github.com/walles/riff
-
Is there a modern alternative for diff (like ripgrep for grep)?
I don't know about those features specifically, but lately I've been enjoying riff, and some other options I can think of are
-
diff for single file, showing changes from previous line?
#!/bin/zsh diffj () { # [] # uses: riff: https://github.com/walles/riff emulate -L zsh local lines if [[ ! $1 ]] { # without txt arg, read from stdin lines=(${(f)"$(>&1)"}) } else { lines=(${(f)"$(<$1)"}) } local colored_lines=() lineno=2 while (( lineno<=${#lines} )) { colored_lines+=( ${(f)"$(riff --no-pager =(<<<${lines[$(( lineno-1 ))]}) =(<<<${lines[$lineno]}))"} ) (( lineno+=1 )) } print -rl -- $lines[1] ${(M)colored_lines:#$'\C-[[32m'*} } diffj $@
What are some alternatives?
When comparing gh-f and riff you can also consider the following projects:
gh-i - 🔎 search your github issues interactively
riff - Riff automatically provides external dependencies for Rust projects, with support for other languages coming soon.
gh-s - 🔎 search github repositories interactively
archbuilder_iosevka
gh-dash - A beautiful CLI dashboard for GitHub 🚀
codevis - Turns your code into one large image
difftastic - a structural diff that understands syntax 🟥🟩
github-tui - TUI client for GitHub
fzf-preview.vim - The plugin that powerfully integrates fzf and (Neo)vim. It is also possible to integrate with coc.nvim.
gh-contribs - GitHub Contribution Graph CLI
git-conflict.nvim - A plugin to visualise and resolve merge conflicts in neovim
tig - Text-mode interface for git