Vinfall / delete-github-action-head-commits.sh
0 likes
0 forks
1 files
Last active
Action-bot automated repository can be filled with GA commits, the script would delete GA commits in HEAD until the earliest commit not authored by GA.
1 | #!/bin/bash |
2 | |
3 | # Usage: action-bot automated repository can be filled with GA commits, |
4 | # the script would delete GA commits in HEAD until the earliest commit not authored by GA. |
5 | # Author: Vinfall |
6 | # License: CC0 (Public Domain) |
7 | |
8 | # Define a function to delete commits authored by a specific email address |
9 | del_ga_commits() { |
10 | # Define the email address of the author to be deleted |
Newer
Older