push

abstract suspend fun push(branch: BranchReference, version: IVersion, baseVersion: IVersion?): IVersion

The pushed version is merged automatically by the server with the current head. The merge result is returned.

Parameters

baseVersion

Some version that is known to exist on the server. Is used for optimizing the amount of data sent to the server.