mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 22:55:31 +02:00
delta: add page (#4317)
This commit is contained in:
parent
61dadb846b
commit
693ff4a00d
1 changed files with 32 additions and 0 deletions
32
pages/common/delta.md
Normal file
32
pages/common/delta.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# delta
|
||||
|
||||
> A viewer for git and diff output.
|
||||
> More information: <https://github.com/dandavison/delta>.
|
||||
|
||||
- Compare files or directories:
|
||||
|
||||
`delta {{path/to/old_file_or_directory}} {{path/to/new_file_or_directory}}`
|
||||
|
||||
- Compare files or directories, showing the line numbers:
|
||||
|
||||
`delta --line-numbers {{path/to/old_file_or_directory}} {{path/to/new_file_or_directory}}`
|
||||
|
||||
- Compare files or directories, showing the differences side by side:
|
||||
|
||||
`delta --side-by-side {{path/to/old_file_or_directory}} {{path/to/new_file_or_directory}}`
|
||||
|
||||
- Compare files or directories, ignoring any git configuration settings:
|
||||
|
||||
`delta --no-gitconfig {{path/to/old_file_or_directory}} {{path/to/new_file_or_directory}}`
|
||||
|
||||
- Compare, rendering commit hashes, file names, and line numbers as hyperlinks, according to the hyperlink spec for terminal emulators:
|
||||
|
||||
`delta --hyperlinks {{path/to/old_file_or_directory}} {{path/to/new_file_or_directory}}`
|
||||
|
||||
- Display the current settings:
|
||||
|
||||
`delta --show-config`
|
||||
|
||||
- Display supported languages and associated file extensions:
|
||||
|
||||
`delta --list-languages`
|
Loading…
Add table
Reference in a new issue