コンテンツにスキップ

AddOpts

このコンテンツはまだ日本語訳がありません。

AddOpts = object

Defined in: src/core/repo.ts:469

Options for git add

Properties

all?

optional all: boolean

Defined in: src/core/repo.ts:472

Add all files (including untracked)


chmod?

optional chmod: "+x" | "-x"

Defined in: src/core/repo.ts:502

Override the executable bit of the listed files


dryRun?

optional dryRun: boolean

Defined in: src/core/repo.ts:474

Dry run - show what would be added


force?

optional force: boolean

Defined in: src/core/repo.ts:478

Force add of ignored files


ignoreErrors?

optional ignoreErrors: boolean

Defined in: src/core/repo.ts:496

If some files could not be added, continue adding others


ignoreMissing?

optional ignoreMissing: boolean

Defined in: src/core/repo.ts:498

Don’t report missing files (with —dry-run)


ignoreRemoval?

optional ignoreRemoval: boolean

Defined in: src/core/repo.ts:492

Ignore removal of files from working tree


intentToAdd?

optional intentToAdd: boolean

Defined in: src/core/repo.ts:488

Record only the fact that the path will be added later


interactive?

optional interactive: never

Defined in: src/core/repo.ts:480

Add changes interactively (not supported - use raw)


patch?

optional patch: never

Defined in: src/core/repo.ts:482

Add changes in patch mode (not supported - use raw)


pathspecFromFile?

optional pathspecFromFile: string

Defined in: src/core/repo.ts:504

Read pathspecs from file instead of command line


refresh?

optional refresh: boolean

Defined in: src/core/repo.ts:494

Don’t add files, just refresh their stat info in the index


renormalize?

optional renormalize: boolean

Defined in: src/core/repo.ts:490

Apply the clean process freshly to all tracked files


sparse?

optional sparse: boolean

Defined in: src/core/repo.ts:500

Allow updating index entries outside of sparse-checkout cone


update?

optional update: boolean

Defined in: src/core/repo.ts:476

Add modified and deleted files, but not untracked


verbose?

optional verbose: boolean

Defined in: src/core/repo.ts:486

Be verbose