Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/peplxx/git-logg
- Owner: peplxx
- License: mit
- Created: 2024-11-02T16:15:41.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-28T21:12:44.000Z (about 1 month ago)
- Last Synced: 2024-11-28T22:22:39.162Z (about 1 month ago)
- Topics: alias, comand-line, development-tools, git, git-logs, git-visualization, open-source, productivity, programming, version-control
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Git Logg: Enhanced Git Log Alias
## 🌟 Overview
> **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 --all --decorate --oneline
> 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'
```