mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
5 lines
193 B
Bash
Executable file
5 lines
193 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
default_branch=$(git_extra_default_branch)
|
|
git branch --no-color --no-merged | sed 's/^[ *+]*//' | grep -Fvx -e "$default_branch" -e "main" -e "master" -e "trunk" -e "svn"
|