Created
October 31, 2018 21:01
-
-
Save andersonmadeira/3b947c4bcf9fb050bfeebd9eeef219fd to your computer and use it in GitHub Desktop.
Exibir todos os arquivos que foram alterados em um determinado commit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# trocar hash pelo começo ou todo o hash do commit | |
git show --pretty="" --name-only hash | |
# Exemplo: | |
git show --pretty="" --name-only 8f9831a35767 | |
# Pra exibir a quantidade de arquivos que foram alterados basta adicionar o wc com a opção -l | |
git show --pretty="" --name-only 8f9831a35767 | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment