GIT-RECENT(1)
β¨ NAME β¨
git recentβ browse and checkout recently used Git branches, bestie π yup, this is theGIT-RECENT(1)page, and it's iconic.
πΈ SYNOPSIS πΈ
git recent
π¦ DESCRIPTION π¦
okay so git recent gives you an interactive interface (using fzf) to browse your latest local git branches. It's giving branch history but make it cute.
It displays a list of branches sorted by recency, shows the unique commits for each branch, and lets you checkout a branch with Enter. You can also view the diff of a branch against the main/master branch. Obsessed? same.
π OPTIONS π
--helpβ display a help message. That's the whole option list, no cap.
π KEYBINDINGS π
- Enter β checkout the selected branch. If the branch is already open in a separate git worktree, the script will output the path to jump there. (See
READMEfor automatic switching via a small shell wrapper.) main character energy fr fr. - Up/Down arrow keys β navigate the branch list.
- Type β filter branch list with fuzzy text matching β¨.
- Ctrl+o (
Ctrl-o) β show the diff of the selected branch against themain/masterbranch. - Ctrl+C (
Ctrl-C) β exit. bye bestie π
π INSTALLATION π
fzf is required. Literally the link: https://junegunn.github.io/fzf/installation/
π«Ά SEE ALSO π«Ά
fzf(1)git(1)git-open(1)diff-so-fancy(1)delta(1)git-recent-og(for the non-fzf version)
mwah π this page is from git-recent 2.0, dated February 8, 2025 β now go slay those branches, bestie ππ₯
π¦ where this page comes from
- nixpkgs unstable: git-recent 2.2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms