pwaller / git-alot

Track the status of many git repositories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git alot

git status for your $HOME.

The alot, eating git

(Derived from The Alot is better than you at everything)

If you work on lots of git repositories across multiple machines, it is often possible to lose track of the odd stash or untracked file. That is where the alot comes in. He will rummage through and help you find those pesky untracked files and lost stashes.

Quick start

You will need GitPython. If you have pip available, this is probably the quickest way to get started:

pip install --user GitPython

Then put git-alot.py into a directory in your $PATH as git-alot.

Then type git alot.

If you have a cold filesystem cache you can expect this to take a few minutes the first time you do it.

What does it do?

It will first find all directories called .git in your $HOME. Then it uses GitPython to find out what uncommitted and untracked changes there are for each repository, along with any stashes. It then lists all repositories with outstanding things.

Future concepts

It would be nice also to track synchronization of repositories across multiple machines, but I'm not sure how to implement this in a clean way at the moment, other than just running it on each one and making sure for yourself that you have pushed and fetched.

Ideas

Put this in your crontab, get a weekly e-mail telling you about repositories you left in a mess.

Issues

If you have any problems getting started, please make an issue. Pull requests are also welcome.

About

Track the status of many git repositories


Languages

Language:Python 100.0%