From 4e77cb78f56437992c4c9265efd2ac170c319c2d Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 6 Oct 2017 12:20:53 +0200 Subject: [PATCH] Add script for slugified branch names Signed-off-by: Knut Ahlers --- bin/git-b | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 bin/git-b diff --git a/bin/git-b b/bin/git-b new file mode 100755 index 0000000..7f01391 --- /dev/null +++ b/bin/git-b @@ -0,0 +1,6 @@ +#!/bin/bash + +set -e +set -o pipefail + +git checkout -b $(slugify "$@")