4

Delete Stale Branches

 2 years ago
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.
neoserver,ios ssh client

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK