Skip to content

Instantly share code, notes, and snippets.

@klesouza
Created April 15, 2020 09:18
Show Gist options
  • Save klesouza/486add951af37e56c0630845bd7dc99c to your computer and use it in GitHub Desktop.
Save klesouza/486add951af37e56c0630845bd7dc99c to your computer and use it in GitHub Desktop.
Find all your commits in all git repos
#!/bin/bash
find . -type d -depth 1 -exec sh -c 'git --git-dir={}/.git --work-tree=$PWD/{} log --format="%cs %aE %s" --before 2020-04-1 --after 2020-03-02 | grep [YOUR_USER]' \; -print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment