From 1b82a2caedb3c6bce0b6c18a44d1e99f38a06b18 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 1 Dec 2017 12:59:55 +0100 Subject: [PATCH] Add shortcut for creating a branch and committing Signed-off-by: Knut Ahlers --- bin/git-bc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 bin/git-bc diff --git a/bin/git-bc b/bin/git-bc new file mode 100755 index 0000000..39cc1a5 --- /dev/null +++ b/bin/git-bc @@ -0,0 +1,6 @@ +#!/bin/bash + +set -euxo pipefail + +git b "$@" +git c -av -m "$*"