Listen to the all-wise @devnull or he might swallow you... No, but seriously, he's right:
function gspecial () {
git checkout $1;
git merge $2;
rspec;
}
so then:
$ gspecial master development
will do this:
$ git checkout master
$ git merge development
$ rspec
TIP:
Use a more descriptive name, like git-rspecial
for function names.