← 返回命令列表

Linux command

git-delta 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List files that differ from master

git delta

List files that differ from a specific branch

git delta [branch]

Show only modified and renamed files

git delta master MR

Show only deleted files

git delta [branch] D

说明

git delta lists files that differ from a given branch, showing only file names without content differences. By default it compares against the master branch and shows files that have been added, copied, or modified. The filter parameter allows narrowing results to specific change types using git's diff-filter notation. This is useful for code review preparation, deployment planning, or quickly assessing the scope of changes on a feature branch. Part of the git-extras suite. Not to be confused with the separate delta project (dandavison/delta), which is a syntax-highlighting pager for git diff output.

FAQ

What is the git-delta command used for?

git delta lists files that differ from a given branch, showing only file names without content differences. By default it compares against the master branch and shows files that have been added, copied, or modified. The filter parameter allows narrowing results to specific change types using git's diff-filter notation. This is useful for code review preparation, deployment planning, or quickly assessing the scope of changes on a feature branch. Part of the git-extras suite. Not to be confused with the separate delta project (dandavison/delta), which is a syntax-highlighting pager for git diff output.

How do I run a basic git-delta example?

Run `git delta` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more git-delta examples?

This page includes 4 examples for git-delta, plus related commands for nearby Linux tasks.