Add shortcuts for checking code project branches to easily see which have been promoted and which have dev/stage changes.

This commit is contained in:
2025-11-30 17:56:56 -07:00
parent ad6b9d4794
commit 95212b1c73

View File

@@ -1011,6 +1011,18 @@
alias reset-prod="load-branch prod main"
alias reset-stage="load-branch stage main"
alias reset-dev="load-branch dev main"
function check-code-branches {
for dir in ~/Code/*/; do
cd $dir
pwd
git ls-remote --heads
echo " "
cd ..
done
}
alias check-branches="check-code-branches"
alias check-branch="git ls-remote --heads"
alias branch-check="check-branch"
alias_reload_bash: |
alias reload-bash="source ~/.bashrc"
alias bash-reload="reload-bash"