Last active
          August 15, 2025 05:51 
        
      - 
      
- 
        Save 54keesh/d70210da8d85170ad08cd834e237b9c5 to your computer and use it in GitHub Desktop. 
    A script to group commit messages by date and log them on the console
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #! /bin/bash | |
| # This script groups commit messages by date for the current user and logs them on the console - ignores merge commits | |
| FROM="2025-08-15"; | |
| TO="2025-08-15"; | |
| git log --no-merges --all --author="$(git config user.email)" --since="$FROM 00:00" --until="$TO 23:59" --date=short --pretty=format:'%ad%x09%s' | awk -F'\t' 'NR==1{d=$1; print d; print $2; next} $1!=d{print ""; d=$1; print d} {print $2}' | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment