Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/peplxx/git-logg

Git log alias with enhanced readability and formatting.
https://github.com/peplxx/git-logg

alias comand-line development-tools git git-logs git-visualization open-source productivity programming version-control

Last synced: 14 days ago
JSON representation

Git log alias with enhanced readability and formatting.

Awesome Lists containing this project

README

        

# Git Logg: Enhanced Git Log Alias

## 🌟 Overview
Git Logg

> **Git Logg** is a alias that enhances the `git log` experience, providing a more structured and easily navigable view of your commit history.

## 📝 What is improved

Git Log Graph Oneline

> git log --graph --all --decorate --oneline

Git Log Graph

> git log --graph --all --decorate

- **Compact Display**: Utilizing compact `git log --oneline` output with detailed commit history.
- **Enhanced Format**: Improves readability by truncating email addresses, clearly displaying author names and dates, and adding timestamps.
- **Detailed Information**: Displays timestamp, author, commit hash, and branch info.
- **Graph Representation**: Utilizes `--graph` to enhance the readability of branching in the commit history.

## 🚀 How to install
### **[Linux]** Installer
```shell
git clone https://github.com/peplxx/git-logg
cd git-logg
./install.sh
```
### Manual installation
Alternatively, you can add the alias directly to your Git configuration (`~/.gitconfig`):
```conf
[alias]
logg = log --all --color --date='format:%Y-%m-%d %H:%M:%S' --decorate=short --graph --pretty=format:'%C(bold dim white)%ad%C(reset) %C(bold dim cyan)%<(20,trunc)%an%C(reset) %C(bold cyan)%h%C(reset)%C(auto)%d%C(reset)%n%C(dim white)%<(19,trunc)%ar%C(reset) %C(dim cyan)%<(20,trunc)%ae%C(reset) %C(bold white)Commit:%C(reset) %C(white)%s%C(reset)%n'
```