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 | |
# Store the current directory | |
current_directory=$(pwd) | |
# Setup colours | |
c_reset='\033[00m' | |
c_highlight='\033[33m' | |
echo -e "\n${c_highlight}Pulling in latest changes for all repositories...${c_reset}" |
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
#!/usr/bin/env bash | |
set -o errexit # Exit on most errors (see the manual) | |
set -o errtrace # Make sure any error trap is inherited | |
set -o nounset # Disallow expansion of unset variables | |
set -o pipefail # Use last non-zero exit code in a pipeline | |
readonly __blue="\033[36m" | |
readonly __red="\033[31m" | |
readonly __reset="\033[0m" |