<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [git-documentdb](./git-documentdb.md) &gt; [SyncResult](./git-documentdb.syncresult.md)

## SyncResult type

Result from sync\_worker()

<b>Signature:</b>

```typescript
export declare type SyncResult = SyncResultNop | SyncResultPush | SyncResultFastForwardMerge | SyncResultMergeAndPushError | SyncResultMergeAndPush | SyncResultResolveConflictsAndPushError | SyncResultResolveConflictsAndPush | SyncResultCancel;
```
<b>References:</b> [SyncResultNop](./git-documentdb.syncresultnop.md)<!-- -->, [SyncResultPush](./git-documentdb.syncresultpush.md)<!-- -->, [SyncResultFastForwardMerge](./git-documentdb.syncresultfastforwardmerge.md)<!-- -->, [SyncResultMergeAndPushError](./git-documentdb.syncresultmergeandpusherror.md)<!-- -->, [SyncResultMergeAndPush](./git-documentdb.syncresultmergeandpush.md)<!-- -->, [SyncResultResolveConflictsAndPushError](./git-documentdb.syncresultresolveconflictsandpusherror.md)<!-- -->, [SyncResultResolveConflictsAndPush](./git-documentdb.syncresultresolveconflictsandpush.md)<!-- -->, [SyncResultCancel](./git-documentdb.syncresultcancel.md)

## Remarks

- commits are sorted from old to new.

- commits.local: List of commits which has been pulled to local

- commits.remote: List of commits which has been pushed to remote

