4
Delete Stale Branches
source link: https://gist.github.com/gparlakov/b1acc804e0140b7a126cb5b9685933a7
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Delete Stale Branches · GitHub
Delete Stale Branches
Found if in case of lastCommitTimestamp is NULL, still it pass through and assign to branchesToDelete, hence have gone approach as below:
if [[ ! -z "$lastCommitTimestamp" ]] && [[ ${lastCommitTimestamp} -lt ${staleTimestamp} ]]; then
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK