Created
May 14, 2021 12:26
-
-
Save obalunenko/0210c690ecd35cb4ef472b9dd8ebe606 to your computer and use it in GitHub Desktop.
Get list of changed files against master bruch
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
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| function cleanup() { | |
| trap - SIGINT SIGTERM ERR EXIT | |
| } | |
| trap cleanup SIGINT SIGTERM ERR EXIT | |
| git diff --name-only master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment