Skip to content

Instantly share code, notes, and snippets.

View vorpal56's full-sized avatar
🦀

Anthony Sukadil vorpal56

🦀
View GitHub Profile
@vorpal56
vorpal56 / git-recent
Last active June 27, 2024 21:20 — forked from fritz-c/git-recentco
Git: Check out a branch from a list of recently checked out branches/tags/commits
#!/usr/bin/env bash
# Source: https://gist.github.com/fritz-c/c1e528b09bc1c0827a3c
# Original: https://gist.github.com/jordan-brough/48e2803c0ffa6dc2e0bd
# 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 recentco` from inside any git repo.
# Example:
#