https://github.com/thomasklein/mgitlog
Run `git log` across multiple repositories.
https://github.com/thomasklein/mgitlog
git json-output logging multi-repo-scan
Last synced: about 1 month ago
JSON representation
Run `git log` across multiple repositories.
- Host: GitHub
- URL: https://github.com/thomasklein/mgitlog
- Owner: thomasklein
- License: mit
- Created: 2024-12-10T14:39:18.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-11T09:33:23.000Z (5 months ago)
- Last Synced: 2025-03-26T02:34:37.283Z (about 2 months ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
Awesome Lists containing this project
README
# mgitlog (Multi git log)
[](https://github.com/thomasklein/mgitlog/releases)
[](LICENSE)Run `git log` over multiple repositories in one go.
```bash
$ mgitlog --mroot ~/business-unit-a --mroot ~/projects/business-unit-b --mheader [email protected] --since "1 week ago"BUSINESS-UNIT-A [/home/jane/projects/business-unit-a]
━━━━━━━━━━━━━━━━━━━━commit fd7fc4397f0e8267babc03cb9ee93c8d535a2fd0
Author: Jane Smith
Date: Wed Nov 20 14:20:25 2024 +0100feat: implement OAuth2 token validation and refresh mechanism
NOTIFICATION-SERVICE [/home/jane/projects/business-unit-b/notification-service]
━━━━━━━━━━━━━━━━━━━━commit fd7fc4397f0e8267babc03cb9ee93c8xxxxxxx01
Author: Jane Smith
Date: Thu Nov 20 13:20:25 2024 +0100feat: implement OAuth2 token validation and refresh mechanism
// ... more commits
```## Installation
```bash
# Install
git clone https://github.com/thomasklein/mgitlog
cd mgitlog && chmod +x mgitlog.sh# Optional: Make globally available
sudo ln -s "$(pwd)/mgitlog.sh" /usr/local/bin/mgitlog
```## Options
```bash
Options:
--mroot DIR Specify root directory. Defaults to current directory (can be used multiple times)
--mheader Show repository headers
--mexclude PATTERN Exclude repository path(s) from scanning (can be used multiple times)
Supports partial matches (e.g., 'test' excludes 'test-repo')
--mparallelize [NUMBER] Enable parallel processing with optional number of processes (default: 4)
--help Show this help message
--version Show version information
```[Contributing](CONTRIBUTING.md) | [Changelog](CHANGELOG.md) | [MIT](LICENSE)