Skip to main content

git-sync-js / forcePull / IForcePullOptions

Interface: IForcePullOptions

forcePull.IForcePullOptions

Table of contents

Properties

Properties

defaultGitInfo

Optional defaultGitInfo: Object

Optional fallback of userInfo. If some info is missing in userInfo, will use defaultGitInfo instead.

Type declaration

NameType
branchstring
emailstring
gitUserNamestring
remotestring

Defined in

src/forcePull.ts:12


dir

dir: string

wiki folder path, can be relative

Defined in

src/forcePull.ts:14


logger

Optional logger: ILogger

Defined in

src/forcePull.ts:15


remoteUrl

Optional remoteUrl: string

the storage service url we are sync to, for example your github repo url When empty, and commitOnly===true, it means we just want commit, without sync

Defined in

src/forcePull.ts:19


userInfo

Optional userInfo: IGitUserInfos

user info used in the commit message When empty, and commitOnly===true, it means we just want commit, without sync

Defined in

src/forcePull.ts:23