Skip to main content

Home > git-documentdb > SyncResultMergeAndPush

SyncResultMergeAndPush type#

Synchronization created a merge commit and pushed it.

Signature:
export declare type SyncResultMergeAndPush = {
action: 'merge and push';
changes: {
local: ChangedFile[];
remote: ChangedFile[];
};
commits?: {
local: NormalizedCommit[];
remote: NormalizedCommit[];
};
};
References:

ChangedFile , NormalizedCommit

Remarks#

  • commits are sorted from old to new.

  • commits.local: List of commits that had been pulled to local

  • commits.remote: List of commits that had been pushed to remote