commit in macos app