Commits local changes to Polygon problem.
Similar to git commit - creates new revision on Polygon.
Requires problem ID in Config.json or as argument.
Parameters
problemIdOrPath: string
Problem ID or path to directory with Config.json
commitMessage: string
Commit message describing changes
Returns Promise<void>
Resolves when commit completes
Throws
If credentials are not registered
Throws
If problem not found or no uncommitted changes
Throws
If Polygon API request fails
Example
// From CLI: polyman remote-commit ./my-problem "Updated time limits" awaitremoteCommitProblemAction('./my-problem', 'Updated time limits'); // Commits changes with message
Commits local changes to Polygon problem. Similar to git commit - creates new revision on Polygon. Requires problem ID in Config.json or as argument.