跳转到内容

mise dotfiles history show ​

Show a checkpoint: its trigger, changes, and operation journal

Prints the checkpoint's trigger, description, time, and machine, the files that changed since the previous checkpoint, and the tracked entries it covers. For a checkpoint that an operation recorded, also prints the operation's journal of the files it wrote.

参数 ​

  • [REF] — 数字检查点 ID、latest(默认值)、latest~N 或 commit:<sha>

标志 ​

  • -J --json — 以 JSON 格式输出
  • --files — 列出快照中的每个文件
  • --path <PATH> — 在此路径发生更改的检查点中解析 latest~N
  • -h --help — 打印帮助

Examples ​

Show the newest checkpoint

mise dot history show

List every file in an older checkpoint

mise dot history show latest~2 --files

相关文档 ​