This file contains hidden or 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 | |
# Checks the status of the repos | |
# Use this site for reference regarding Bash colors: https://misc.flogisoft.com/bash/tip_colors_and_formatting | |
# MAKE SURE PATH IS CORRECT | |
CDPATH="CHANGE_TO_PATH" # <--- Put the path to your local repositories here | |
SUCCESS="echo -e \\n\\e[92mgit status check completed\\e[0m\\n" | |
cd "$CDPATH" || return |
This file contains hidden or 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 | |
# Updates multiple repositories at once | |
# Use this site for reference regarding Bash colors: https://misc.flogisoft.com/bash/tip_colors_and_formatting | |
# MAKE SURE PATH IS CORRECT!!! | |
CDPATH="CHANGE_TO_PATH" # <--- Put the path to your local repositories here | |
SUCCESS="echo -e \\n\\e[92mLocal repositories updated\\e[0m\\n" | |
cd "$CDPATH" || return |