Skip to content

Feature Request: Support --git (or similar) from directory containing multiple repositories. #420

@coreyfarrell

Description

@coreyfarrell

I'd like the ability to run exa -lh --git from a directory containing multiple repositories, but which is not itself a repository. For a simple example:

cd /usr/src
git clone https://github.com/ogham/exa/
touch exa/make-it-dirty
exa -lh --git

Currently no git information is displayed since /usr/src is not a git working directory. Obviously in real life I would run this from within a folder which contains dozens of cloned repos. The important information I'd want to see for each repository is:

  1. do any uncommitted non-gitignore'd changes exist
  2. is the current branch a different commit from remote (only if the current branch tracks a remote branch).
  3. (optional) displaying the name of currently checked out branch would be nice but not strictly needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions