61d8460149
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.
1.8 KiB
1.8 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_log_visual | function | bash | shell | 1.0.0 | impure | git_log_visual([--count N: int], [--author X: string], [--since D: string], [--all]) -> void | Muestra el historial de commits Git con grafo visual, colores y formato legible (hash, fecha, autor, mensaje, ramas). Soporta filtros por cantidad, autor, fecha y modo todas-las-ramas. Pagina con less. |
|
false | error_go_core |
|
historial de commits paginado con less -R; exit code 1 si no es un repo Git | false | bash/functions/shell/git_log_visual.sh | https://gitea-dgg044oo04woo4ggcsws4gk0.organic-machine.com/egutierrez/DevLauncher.git | MIT | scripts/linux/git_utils/historial_commits.sh |
Ejemplo
source bash/functions/shell/git_log_visual.sh
# Últimos 20 commits (default)
git_log_visual
# Últimos 50 commits de todas las ramas
git_log_visual --count 50 --all
# Commits de un autor esta semana
git_log_visual --author "lucas" --since "1 week ago"
# Commits de hoy en todas las ramas
git_log_visual --since "00:00:00" --all --count 100
Notas
Usa less -R --quit-if-one-screen para paginar: si el log cabe en pantalla, no abre el paginador. El formato incluye hash corto (amarillo), fecha (cyan), autor (verde), mensaje y refs de ramas (rojo).