An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# mgitlog (Multi git log)

[![Version](https://img.shields.io/badge/version-1.0.0-blue.svg)](https://github.com/thomasklein/mgitlog/releases)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](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 +0100

feat: 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 +0100

feat: 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)