Created
October 31, 2018 20:59
-
-
Save andersonmadeira/eedf406d6ad38693b5f5551b66d5ece6 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