Changed interactive rebase to rebase the target branch if specified
Changed checkout -B to set the branch to point at the specified commit rather than always using HEAD
Merge pull request #192 from ptsoccer/master

Fixed couple of issues where the target branch/ref was being ignored