GIT-RECENT(1)

πŸ“¦ version 2.2.0, in nixpkgs unstable

✨ NAME ✨

  • git recent β€” browse and checkout recently used Git branches, bestie πŸ’… yup, this is the GIT-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 README for 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 the main/master branch.
  • Ctrl+C (Ctrl-C) β€” exit. bye bestie πŸ’œ

🌈 INSTALLATION 🌈

fzf is required. Literally the link: https://junegunn.github.io/fzf/installation/

🫢 SEE ALSO 🫢


mwah πŸ’‹ this page is from git-recent 2.0, dated February 8, 2025 β€” now go slay those branches, bestie πŸŽ€πŸ”₯

πŸ“¦ where this page comes from