Skip to content

Instantly share code, notes, and snippets.

@Willamin
Last active October 11, 2019 20:48
Show Gist options
  • Select an option

  • Save Willamin/3a177eda28bc12c19ea80806ac906851 to your computer and use it in GitHub Desktop.

Select an option

Save Willamin/3a177eda28bc12c19ea80806ac906851 to your computer and use it in GitHub Desktop.

Revisions

  1. Willamin revised this gist Oct 11, 2019. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions git-days
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    #!/bin/bash

    AUTHOR="Will Lewis"

    git log --all --date=format:'%a %Y-%m-%d' --format='%ad %aN %s' |\
  2. Willamin revised this gist Oct 11, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions git-days
    Original file line number Diff line number Diff line change
    @@ -4,3 +4,4 @@ git log --all --date=format:'%a %Y-%m-%d' --format='%ad %aN %s' |\
    rg $AUTHOR |\
    awk -v i=1 'NR>1 && $1!=p { print "" }{ p=$1 } 1' |\
    tail -r |\

  3. Willamin revised this gist Oct 10, 2019. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions git-days
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,6 @@
    AUTHOR="Will Lewis"
    DATE_FILTER="2019-10"

    git log --all --date=format:'%a %Y-%m-%d' --format='%ad %aN %s' |\
    rg $AUTHOR |\
    rg $DATE_FILTER |\
    awk -v i=1 'NR>1 && $1!=p { print "" }{ p=$1 } 1' |\
    tail -r |\
  4. Willamin created this gist Oct 10, 2019.
    8 changes: 8 additions & 0 deletions git-days
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    AUTHOR="Will Lewis"
    DATE_FILTER="2019-10"

    git log --all --date=format:'%a %Y-%m-%d' --format='%ad %aN %s' |\
    rg $AUTHOR |\
    rg $DATE_FILTER |\
    awk -v i=1 'NR>1 && $1!=p { print "" }{ p=$1 } 1' |\
    tail -r |\