Skip to content

Commit

Permalink
Explain Git characters in man page
Browse files Browse the repository at this point in the history
Fixes GH-778.
  • Loading branch information
ogham committed Apr 12, 2021
1 parent dbd11d3 commit 1f4e58e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions man/exa.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ These options are available when running with `--long` (`-l`):
`--git` [if exa was built with git support]
: List each file’s Git status, if tracked.

This adds a two-character column indicating the staged and unstaged statuses respectively. The status character can be ‘`-`’ for not modified, ‘`M`’ for a modified file, ‘`N`’ for a new file, ‘`D`’ for deleted, ‘`R`’ for renamed, ‘`T`’ for type-change, ‘`I`’ for ignored, and ‘`U`’ for conflicted.

Directories will be shown to have the status of their contents, which is how ‘deleted’ is possible: if a directory contains a file that has a certain status, it will be shown to have that status.


ENVIRONMENT VARIABLES
=====================
Expand Down

0 comments on commit 1f4e58e

Please sign in to comment.