Switch language한국어
Back to the list

The Git Commands I Run Before Reading Any Code | Hacker News

TL;DR AI

Key summary

2 min read
  1. The post discusses using jj (jujutsu) and git commands to analyze commit history.

  2. It provides jj log revset examples and templates, such as ancestors(trunk()) and description(regex:"(?i)fix|bug|broken").

  3. The author says jj is much more verbose and closer to programming, though it has fewer flags to remember.

  4. Revset language is cited as a high-ranking reason to use jj, but the author prefers git because it is wired in their fingers and ubiquitous.

  5. Examples include a signing workflow (jj log -r 'mine() & ~signed()' and jj sign -r 'mine() & ~signed()') and a summary alias for metrics.

Read the original