mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-09 23:58:02 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# delta
|
||||
|
||||
> A viewer for Git and diff output.
|
||||
> More information: <https://github.com/dandavison/delta>.
|
||||
> More information: <https://dandavison.github.io/delta/full---help-output.html>.
|
||||
|
||||
- Compare files or directories:
|
||||
|
||||
@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Compare files or directories, showing the line numbers:
|
||||
|
||||
`delta --line-numbers {{path/to/old_file_or_directory}} {{path/to/new_file_or_directory}}`
|
||||
`delta {{[-n|--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}}`
|
||||
`delta {{[-s|--side-by-side]}} {{path/to/old_file_or_directory}} {{path/to/new_file_or_directory}}`
|
||||
|
||||
- Compare files or directories, ignoring any Git configuration settings:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user