gcm: Commit staged changes.