Skip to content

Commit

Permalink
git-whatchanged: add page (#5935)
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanMachine1 authored May 11, 2021
1 parent c92b8f1 commit e557714
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pages/common/git-whatchanged.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# git whatchanged

> Show what has changed with recent commits or files.
> See also `git log`.
> More information: <https://git-scm.com/docs/git-whatchanged>.
- Display logs and changes for recent commits:

`git whatchanged`

- Display logs and changes for recent commits within the specified time frame:

`git whatchanged --since="{{2 hours ago}}"`

- Display logs and changes for recent commits for specific files or directories:

`git whatchanged {{path/to/file_or_directory}}`

0 comments on commit e557714

Please sign in to comment.