Skip to content

Instantly share code, notes, and snippets.

View MattMcMurray's full-sized avatar

Matt McMurray MattMcMurray

View GitHub Profile
@MattMcMurray
MattMcMurray / git-recent
Created August 10, 2023 20:07 — forked from jordan-brough/git-recent
Git: Display a list of recently checked out branches/tags/commits
#!/usr/bin/env bash
# Source: https://gist.github.com/jordan-brough/48e2803c0ffa6dc2e0bd
# See also: https://stackoverflow.com/a/25095062/58876
# Download this script as "git-recent" (no extension), chmod it to be executable and put it in your
# path somewhere (e.g. /usr/bin). You can then use it via `git recent` from inside any git repo.
# Examples: