Comment Comment by impalallama A bash script to open up the current git branch in my browser.Use it everyday. Great because my company has multiple git submodules in any given project and I can use this to watch for pipeline failures and the like. x=$(git config --local remote.origin.url|sed -n 's#.*/\([^.]*\)\.git#\1#p') y=$(git symbolic-ref --short HEAD) url="https://git.thecompany.com/thecompany/$x/tree/$y" $(open -a "firefox developer edition" "$url" parent impalallama 4 years ago
Use it everyday. Great because my company has multiple git submodules in any given project and I can use this to watch for pipeline failures and the like.