Slide 16
Slide 16 text
Top tip
# list git branches with their descriptions
function gb() {
branch=""
branches=`git branch --list`
while read -r branch; do
clean_branch_name=${branch//\*\ /}
description=`git config branch.$clean_branch_name.description`
printf "%-15s %s\n" "$branch": "$description"
done <<< "$branches"
}