Skip to content

Instantly share code, notes, and snippets.

View ledex's full-sized avatar

Karsten Bruhns ledex

View GitHub Profile
@ledex
ledex / get-my-commits.sh
Created May 12, 2025 09:55
This script gets all your commits on the main/master branch from all subfolders in the given base-directory. Useful for getting an overview of your work, i.e., for creating job references.
#!/bin/bash
# ==============================================================================
# Script: get_my_commits.sh
# Description:
# Finds and displays Git commits by a specific author on the main/master
# branch across multiple Git repositories within a base directory.
# Excludes merge commits.
#
# Usage: