Added script to create branch for QMK

This commit is contained in:
dbroqua 2021-01-16 08:52:56 +01:00
parent b66b6b08b2
commit 375b3900ff

14
Bin/qmkCreateBranch.sh Executable file
View File

@ -0,0 +1,14 @@
#! /bin/bash
if [ -z "$1" ]; then
echo "Missing branch name"
exit 1
fi
git checkout master
git fetch upstream
git pull upstream master
git push origin master
git checkout -b $1
git push --set-upstream origin $1