Duke's utils
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

9 lines
163 B

#!/bin/sh
test -z $1 && echo "source branch required." && exit 1
src=$1
dst=${2-master}
git checkout $dst \
&& git merge --no-ff $src \
&& git branch -d $src