Git status for past commit?

how to make git statusto view modified files in the past commit?

NOTE: this question may already have been asked, but it is worded differently. however, I am struck by the fact that the search for the next expression in Google does not provide any useful results: git status for past commit.

+4
source share
3 answers

git show --name-status <commit>

+4
source

git statusis the wrong team here. If you want to see what the previous commit did, you should use git show <commit>.

+2
source

:

git show --stat --oneline b8351c4

b8351c4 - .

0

Source: https://habr.com/ru/post/1679175/


All Articles