コンテンツにスキップ

LogOpts

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

LogOpts = object

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

Options for git log

Properties

after?

optional after: string | Date

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

Alias for since


all?

optional all: boolean

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

Pretend as if all refs are listed on the command line


ancestryPath?

optional ancestryPath: boolean

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

Only display commits that are ancestors of the specified commit


author?

optional author: string

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

Limit commits to those by a specific author


before?

optional before: string | Date

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

Alias for until


decorate?

optional decorate: "short" | "full" | "auto" | "no"

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

Print out the ref names of any commits that are shown


decorateRefs?

optional decorateRefs: string

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

If no —decorate-refs is given, pretend as if all refs were included


decorateRefsExclude?

optional decorateRefsExclude: string

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

Do not include refs matching the pattern


firstParent?

optional firstParent: boolean

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

Follow only the first parent commit upon seeing a merge commit


grep?

optional grep: string

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

Limit commits to those with log message matching the pattern


maxCount?

optional maxCount: number

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

Limit the number of commits to output


merges?

optional merges: boolean

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

Show only merge commits


nameOnly?

optional nameOnly: boolean

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

Show only names of changed files


nameStatus?

optional nameStatus: boolean

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

Show only names and status of changed files


noMerges?

optional noMerges: boolean

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

Do not show merge commits


ref?

optional ref: string

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

Revision or revision range to show (e.g., ‘main’, ‘HEAD~5..HEAD’, ‘v1.0.0’)


reverse?

optional reverse: boolean

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

Output commits in reverse order


shortstat?

optional shortstat: boolean

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

Output only the last line of the stat


since?

optional since: string | Date

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

Show commits more recent than a specific date


skip?

optional skip: number

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

Skip number of commits before starting to show the output


source?

optional source: boolean

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

Print out the ref name given on the command line by which each commit was reached


stat?

optional stat: boolean

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

Generate a diffstat


until?

optional until: string | Date

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

Show commits older than a specific date


useMailmap?

optional useMailmap: boolean

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

Use mailmap file to map author names