tj / tj/git-extras

feature request some comands to format log

Open
#1,204 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Shell
Stars
18.1k
Forks
1.2k
Avg merge
5d 17h
Merged PRs (30d)
1

Description

I think git-extras is the ideal project to my git log alias that some times I'd like to run in any computer (not just on my environment)

alias gitgraph='git log --graph --decorate --oneline'
alias gitlog='git --no-pager log --pretty=tformat:"%C(yellow)%h %C(cyan)%ad %Cblue%an%C(auto)%d %Creset%s" --graph --date=format:"%Y-%m-%d %H:%M" -25'
alias gitlogr='git --no-pager log --reverse --pretty=tformat:"%C(yellow)%h %C(cyan)%ad %Cblue%an%C(auto)%d %Creset%s" --date=format:"%Y-%m-%d %H:%M" -25'
alias gitlogmodified='git --no-pager log --pretty=format:"%h %ad %an %s" --date=short --name-status -25'
alias gitlogrebase='git --no-pager log --reverse --oneline --no-merges -25'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the repository's existing command entry points and any log-related utilities. Compare the requested gitgraph, gitlog, gitlogr, gitlogmodified, and gitlogrebase aliases with the project's conventions, then define the commands and verify that they reproduce the listed log formats.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.