1

I have a directory and in the directory is a rather long list of git repositories. Is there a package or options where a dired listing of the directory would also add in the status of each git repo contain. For example if the git repo is clean and synced, it would show green. If the repo has local changes, it would show red. Or... perhaps another method could be used to indicate the current state of the repo.

I have magit installed so that might be an aid in this quest.

1

dired-k and dired-git-info show information about files within a repository in Dired. Not what you asked for but you might find these packages useful anyway.

If your repositories are actually submodules of an outer repository, then these packages should show information about the repositories themselves too. If not, then I would consider that a bug.

Magit provides some support for showing information about a list of repositories, but it doesn't use the Dired interface to do so. See List Repositories.

  • thanks (again). The magit list repositories looks very promising. Somehow, that led me to git work trees and they look really cool as well. – pedz Mar 20 at 13:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.