Files
fn_registry/bash/functions/shell/git_push_all_remotes.md
T
egutierrez 8f45b40528 feat: add bash shell utility functions
12 funciones Bash del dominio shell: utilidades de scripting (bash_log,
bash_colors, bash_check_deps, bash_confirm, bash_handle_error, bash_safe_run),
manipulacion de texto (convert_text_case), estructura de proyectos
(create_project_structure), y operaciones git (git_clean_branches,
git_log_visual, git_push_all_remotes, git_repo_status). Cada una con su
.sh y .md de frontmatter.
2026-04-12 13:54:15 +02:00

1.4 KiB

name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, tested, tests, test_file_path, file_path, source_repo, source_license, source_file
name kind lang domain version purity signature description tags uses_functions uses_types returns returns_optional error_type imports params output tested tests test_file_path file_path source_repo source_license source_file
git_push_all_remotes function bash shell 1.0.0 impure git_push_all_remotes([--message msg: string]) -> void Hace commit de todos los cambios pendientes (git add -A + git commit) y pushea la rama actual a todos los remotes configurados. Si no hay cambios solo pushea. Requiere --message si hay cambios sin commitear.
bash
git
push
remote
all
false error_go_core
name desc
--message mensaje de commit a usar si hay cambios pendientes (requerido cuando hay cambios)
progreso del push a stdout por cada remote; exit code 1 si algún push falla false
bash/functions/shell/git_push_all_remotes.sh https://gitea-dgg044oo04woo4ggcsws4gk0.organic-machine.com/egutierrez/DevLauncher.git MIT scripts/linux/git_utils/push_todos_remotes.sh

Ejemplo

source bash/functions/shell/git_push_all_remotes.sh

# Solo push (sin cambios pendientes)
git_push_all_remotes

# Commit + push a todos los remotes
git_push_all_remotes --message "feat: nueva funcionalidad"

Notas

Usa --set-upstream automáticamente si la rama no existe en el remote. Sale con exit code 1 si hay cambios pero no se pasa --message, o si algún push falla.