How do I have git display colours on my Atom side bar when the root is not a git repo?


I have that the root is not a git repo and that I have atom open where I have multiple different git repos open on tree. How can I have atom and git acknowledge these repos separately so to color each one separately according to their own commits, gitignore file etc?

example of how it looks now:


Atom doesn’t support displaying git diff colors and icons if the root isn’t a Git repository. On the other hand, Atom does support having multiple Git repositories in the tree if you add the various roots using the File > Add Project Folder… menu item rather than a single parent folder.