public override void Execute() { // We can use members inherited from both CommitCommand and BaseCommand. CommitRepository.AddCommit("12345678"); WriteLog("Added new commit."); }