cfg/bin/git-b
Knut Ahlers 1efe7fa3ca
Truncate branch names at 72 chars
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-07 21:49:27 +01:00

6 lines
78 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
git checkout -b $(slugify "$@" | cut -c 1-72)