Created
January 29, 2019 08:09
-
-
Save kuntashov/91f8f286a9ec9ebdd53d929fb41e0932 to your computer and use it in GitHub Desktop.
GIT: Список файлов между двумя коммитами
This file contains hidden or 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
#Получить список файлов, измененных между двумя коммитами. | |
git log --name-only --pretty=oneline --full-index COMMIT1..COMMIT1 | grep -vE '^[0-9a-f]{40} ' | sort | uniq | |
# Здесь | |
# COMMIT1 - первый коммит или тэг | |
# COMMIT2 - второй коммит или тэг, или, например, HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment