Added merge support to CommitCommand