AddOpts
このコンテンツはまだ日本語訳がありません。
AddOpts =
object
Defined in: src/core/repo.ts:469
Options for git add
Properties
all?
optionalall:boolean
Defined in: src/core/repo.ts:472
Add all files (including untracked)
chmod?
optionalchmod:"+x"|"-x"
Defined in: src/core/repo.ts:502
Override the executable bit of the listed files
dryRun?
optionaldryRun:boolean
Defined in: src/core/repo.ts:474
Dry run - show what would be added
force?
optionalforce:boolean
Defined in: src/core/repo.ts:478
Force add of ignored files
ignoreErrors?
optionalignoreErrors:boolean
Defined in: src/core/repo.ts:496
If some files could not be added, continue adding others
ignoreMissing?
optionalignoreMissing:boolean
Defined in: src/core/repo.ts:498
Don’t report missing files (with —dry-run)
ignoreRemoval?
optionalignoreRemoval:boolean
Defined in: src/core/repo.ts:492
Ignore removal of files from working tree
intentToAdd?
optionalintentToAdd:boolean
Defined in: src/core/repo.ts:488
Record only the fact that the path will be added later
interactive?
optionalinteractive:never
Defined in: src/core/repo.ts:480
Add changes interactively (not supported - use raw)
patch?
optionalpatch:never
Defined in: src/core/repo.ts:482
Add changes in patch mode (not supported - use raw)
pathspecFromFile?
optionalpathspecFromFile:string
Defined in: src/core/repo.ts:504
Read pathspecs from file instead of command line
refresh?
optionalrefresh:boolean
Defined in: src/core/repo.ts:494
Don’t add files, just refresh their stat info in the index
renormalize?
optionalrenormalize:boolean
Defined in: src/core/repo.ts:490
Apply the clean process freshly to all tracked files
sparse?
optionalsparse:boolean
Defined in: src/core/repo.ts:500
Allow updating index entries outside of sparse-checkout cone
update?
optionalupdate:boolean
Defined in: src/core/repo.ts:476
Add modified and deleted files, but not untracked
verbose?
optionalverbose:boolean
Defined in: src/core/repo.ts:486
Be verbose