Merge branch 'master' of github.com:visionmedia/git-extras

This commit is contained in:
TJ Holowaychuk 2013-05-15 09:57:57 -07:00
commit dc52254843
4 changed files with 7 additions and 5 deletions

View file

@ -8,5 +8,4 @@ else
test -z $1 && echo "bug <name> required." && exit 1
branch=bug/$1
git checkout -b $branch &> /dev/null
git checkout $branch &> /dev/null
fi

View file

@ -8,5 +8,4 @@ else
test -z $1 && echo "feature <name> required." 1>&2 && exit 1
branch=feature/$1
git checkout -b $branch &> /dev/null
git checkout $branch &> /dev/null
fi

View file

@ -8,5 +8,4 @@ else
test -z $1 && echo "refactor <name> required." 1>&2 && exit 1
branch=refactor/$1
git checkout -b $branch &> /dev/null
git checkout $branch &> /dev/null
fi

View file

@ -27,8 +27,13 @@ while true; do
quit) break;;
esac
# Execute
eval git "$cmd"
if [[ $cmd == !* ]]; then
eval ${cmd:1}
elif [[ $cmd == git* ]]; then
eval $cmd
else
eval git "$cmd"
fi
done
echo