mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
19 lines
341 B
Markdown
19 lines
341 B
Markdown
# git show
|
|
|
|
> Show various types of git objects(commits, tags etc.).
|
|
|
|
- Show changes made in the latest commit:
|
|
|
|
`git show`
|
|
|
|
- Show changes made in a given commit:
|
|
|
|
`git show {{commit}}`
|
|
|
|
- Show changes made in the commit with a given tag:
|
|
|
|
`git show {{tag}}`
|
|
|
|
- Show the changes made n commits ago on a branch:
|
|
|
|
`git show {{branch}}~{{n}}`
|