From 95212b1c7336b8c752fce4bbca9b9d05a90374ff Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 30 Nov 2025 17:56:56 -0700 Subject: [PATCH] Add shortcuts for checking code project branches to easily see which have been promoted and which have dev/stage changes. --- tasks/general/acct_mgmt/users.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index 6a458b8..736f99c 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -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"