mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 15:52:12 +00:00
Update cheatsheets
This commit is contained in:
22
git-whatchanged
Normal file
22
git-whatchanged
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user