Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1467

Git sync scanner

$
0
0
If you have a bunch of git repos it can be hard to remember which ones are out of sync. It gets worse if you work across multiple locations.

This is a small utility to scan a parent directory for all git repos under it and spit out stats.

- commits ahead of upstream
- commits behind upstream
- untracked files count
- modified files since last commit

Clicking on an entry will show some quick stats in the right hand pane.

checkbox options to ignore:
- fatal upstream errors (ie no remote, remote doesnt exist, etc)
- hide repos that are completely up to date

main list also has a filter option and column sorting.

I was lazy and this project requires an open source library for some boiler plate (file system, browse dialogs, cmd output, helper functions etc):

https://sandsprite.com/openSource.php?id=98

You can either rip the classes you want and include them directly in this project or just
compile a copy of it yourself.

also requires git installed, i use the 64 bit version from here: https://git-scm.com/downloads/win
https://github.com/git-for-windows/g...9.0-64-bit.exe
Attached Images
 
Attached Files

Viewing all articles
Browse latest Browse all 1467

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>