Files
fn_registry/bash/functions/shell/git_repo_status.md
T
egutierrez 47fac22230 chore: auto-commit (799 archivos)
- .claude/CLAUDE.md
- .claude/commands/subagentes.md
- .claude/rules/INDEX.md
- .mcp.json
- bash/functions/cybersecurity/analyze_dns.md
- bash/functions/cybersecurity/audit_http_headers.md
- bash/functions/cybersecurity/audit_ssh_config.md
- bash/functions/cybersecurity/check_firewall.md
- bash/functions/cybersecurity/detect_suspicious_users.md
- bash/functions/cybersecurity/encrypt_file.md
- ...

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 00:28:20 +02:00

1.3 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_repo_status function bash shell 1.0.0 impure git_repo_status() -> void Muestra el estado completo de un repositorio Git: rama actual, upstream (ahead/behind), cambios pendientes, stash, remotes y últimos 8 commits. Sale con exit code 1 si el directorio actual no es un repo Git.
bash
git
status
repo
branch
pendiente-usar
false error_go_core
name desc
(ninguno) opera sobre el directorio de trabajo actual (cwd)
imprime el estado completo del repo a stdout; exit code 1 si no es un repo Git false
bash/functions/shell/git_repo_status.sh https://gitea-dgg044oo04woo4ggcsws4gk0.organic-machine.com/egutierrez/DevLauncher.git MIT scripts/linux/git_utils/estado_repo.sh

Ejemplo

# Desde un directorio con repo git
cd /home/user/my-project
source bash/functions/shell/git_repo_status.sh
git_repo_status

Notas

No requiere dependencias externas más allá de git. Los colores del log de commits usan --color=always de git directamente. No produce output en stdout en caso de error — los mensajes de error van a stderr.