Created
February 28, 2022 08:13
-
-
Save bonnak/2cff685a678d472c743f228777d91666 to your computer and use it in GitHub Desktop.
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
| #!/bin/bash | |
| FILE_NAMES=$(git diff dev-next..dev --name-only) | |
| for file_name in ${FILE_NAMES[@]}; do | |
| not_shift_commit=$(git log --oneline --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%C(auto)%h (%ad) %d<%an> %s' --after="2021-12-26" --color=always -- $file_name | head -n 1 | grep -vi -E '<Shift>'); | |
| if [ ! -z "$not_shift_commit" ]; then | |
| echo "${file_name}" | |
| fi | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment