git-sync-js / initGit / IInitGitOptionsSyncImmediately
Interface: IInitGitOptionsSyncImmediately
initGit.IInitGitOptionsSyncImmediately
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
• remoteUrl: string
only required if syncImmediately is true, the storage service url we are sync to, for example your github repo url
Defined in
syncImmediately
• syncImmediately: true
should we sync after git init?
Defined in
userInfo
• userInfo: IGitUserInfos
user info used in the commit message