Add script for slugified branch names

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-10-06 12:20:53 +02:00
parent 423bf119c5
commit 4e77cb78f5
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

6
bin/git-b Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
set -e
set -o pipefail
git checkout -b $(slugify "$@")