FlureeLabs

fluree log

Show commit log for a ledger.

Usage

fluree log [LEDGER] [OPTIONS]

Arguments

ArgumentDescription
[LEDGER]Ledger name (defaults to active ledger)

Options

OptionDescription
--onelineShow one-line summary per commit
-n, --count <N>Maximum number of commits to show

Description

Displays the commit history for a ledger, similar to git log. Shows transaction numbers, timestamps, and commit details.

Examples

# Show full commit log
fluree log

# Show last 5 commits
fluree log -n 5

# One-line format
fluree log --oneline

# Specific ledger
fluree log production --oneline -n 10

Output

Full Format (default)

commit bafybeig2k5...
t: 3
Date: 2024-01-15T10:30:00Z

    Added new users

commit bafybeig7x3...
t: 2
Date: 2024-01-14T09:15:00Z

commit bafybeig9m1...
t: 1
Date: 2024-01-13T08:00:00Z

    Initial data load

One-line Format

bafybeig2k5 t=3 Added new users
bafybeig7x3 t=2
bafybeig9m1 t=1 Initial data load

See Also

  • show - Show decoded contents of a specific commit
  • info - Show ledger details
  • history - Show entity change history