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
Name | Type |
---|---|
branch | string |
email | string |
gitUserName | string |
remote | string |
Defined in
dir
• dir: string
wiki folder path, can be relative
Defined in
logger
• Optional
logger: ILogger
Defined in
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
userInfo
• Optional
userInfo: IGitUserInfos
user info used in the commit message When empty, and commitOnly===true, it means we just want commit, without sync