Skip to content

log

v0.2.0+

Show commits on the current branch—specifically, commits between the parent branch and HEAD. This helps you see exactly what changes are in the current stack branch, excluding commits from parent branches.

Terminal window
rung log
rung log --json
OptionDescription
--jsonOutput as JSON (includes branch name, parent, and commit details)
Terminal window
$ rung log
a1b2c3d Add user authentication alice
e4f5g6h Fix login redirect alice
<short-sha> <commit-message> <author>
Terminal window
$ rung log --json
{
"commits": [
{ "hash": "a1b2c3d", "message": "Add user authentication", "author": "alice" },
{ "hash": "e4f5g6h", "message": "Fix login redirect", "author": "alice" }
],
"branch": "feat-auth",
"parent": "main"
}
Terminal window
$ rung log
! Current branch has no commits

This happens when the current branch points to the same commit as its parent.

  • status — View the full stack tree
  • absorb — Absorb staged changes into commits
  • nxt / prv — Navigate the stack