Skip to content

Instantly share code, notes, and snippets.

View adamcrews's full-sized avatar

Adam Crews adamcrews

View GitHub Profile
@adamcrews
adamcrews / better-git-branch.sh
Last active February 22, 2024 16:44 — forked from schacon/better-git-branch.sh
Better Git Branch output
#!/usr/bin/env bash
# Inspired by: https://gist.github.com/schacon/e9e743dee2e92db9a464619b99e94eff
# https://www.youtube.com/watch?v=aolI_Rz0ZqY
# This version available from: https://gist.github.com/adamcrews/b39f7db45b920281942c179a4882fb18
# Install by copying this script to some local directory then add an alias to git:
# git config --global alias.bb '!<path_to_file>/better-branch.sh'
# Colors