This file contains 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 | |
# Based on https://github.com/maxolasersquad/Git-Notifier/blob/master/gitnotify.sh | |
declare -A GN_LASTSHOW | |
GN_DURATION=120 | |
for GN_BRANCH in `git branch -a | grep remotes/origin/master | sed 's/ -> .*//' | sed 's/^ //'`; do | |
GN_BRANCH_ARRAY=`echo ${GN_BRANCH} | sed 's/\//_/g'` |
NewerOlder