Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Repocheck – a CLI tool to get an overview of your local Git repos (github.com/bevane)
5 points by skybar1 79 days ago | hide | past | favorite | 5 comments
I built a CLI tool that lists out all the local git repos within a directory in an easy to read table format including relevant information such as last modified date and the status of branches in the repo, along with whether it is synced with remote or not.

It also includes a bunch of flags to get exactly what you want in the format you want.

I got this idea as I was trying organize the large amount of local git repos I had. I also found it particularly useful when traveling since I use a different device. In these cases, it is really helpful to know which local git repos I forgot to push commits or have fallen behind the remote version.

Hope you find it really useful, let me know if you like it and also if you have any feedback for it!




There is a lot of other software in the space, personally I use myrepos. They list related software on their website.

https://myrepos.branchable.com/ https://myrepos.branchable.com/related/


Thanks for sharing myrepos, it looks pretty interesting. I also came across gitbatch, another tool for managing local git repos.

It seems that these tools are more focused on being able to manage these repos, with myrepos offering a more granular control (I wish they had a demo though, it took me some time to understand what it does).

With repocheck I am focusing more on getting a quick report of the status of local repos. So I am prioritizing on visibility of local git repos as opposed to management. As for managing the repos, I built my project with the capability of providing tsv and json output, so that users have the freedom to use it in conjunction with other tools and scripts if needed


For a quick report of registered repos with myrepos:

  mr status
I want to work on adding support to myrepos for finding unregistered repos and running in them too, at that point it would be something like this:

  mr -u status
Lots more to do on myrepos, but not much available time.


Huh, I didn't know I wanted something like this. Nice.


Thank you! Let me know if there are any features you would like this tool to have.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: