Skip to content

Instantly share code, notes, and snippets.

@lambda-mike
Last active August 11, 2022 13:26
Show Gist options
  • Select an option

  • Save lambda-mike/cded1177d2da32857a8f8fc20e055088 to your computer and use it in GitHub Desktop.

Select an option

Save lambda-mike/cded1177d2da32857a8f8fc20e055088 to your computer and use it in GitHub Desktop.

Revisions

  1. lambda-mike revised this gist Aug 11, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion git.md
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,6 @@
    ## log

    ```sh
    # find all commits which modify any 'package.json' file on dev branch in remote 'origin' since yesterday
    # find all commits which modify any 'package.json' file on 'dev' branch in remote 'origin' since yesterday
    git log origin/dev --since='yesterday' --name-only -- "*/package.json"
    ```
  2. lambda-mike revised this gist Aug 11, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion git.md
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,6 @@
    ## log

    ```sh
    # find all commits which modify any package.json file since yesterday
    # find all commits which modify any 'package.json' file on dev branch in remote 'origin' since yesterday
    git log origin/dev --since='yesterday' --name-only -- "*/package.json"
    ```
  3. lambda-mike revised this gist Aug 11, 2022. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions git.md
    Original file line number Diff line number Diff line change
    @@ -3,5 +3,6 @@
    ## log

    ```sh
    # find all commits which modify any package.json file since yesterday
    git log origin/dev --since='yesterday' --name-only -- "*/package.json"
    ```
  4. lambda-mike created this gist Aug 11, 2022.
    7 changes: 7 additions & 0 deletions git.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # Git

    ## log

    ```sh
    git log origin/dev --since='yesterday' --name-only -- "*/package.json"
    ```