Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 943 Bytes

use_chezmoi.md

File metadata and controls

23 lines (20 loc) · 943 Bytes

Use chezmoi

With the new ability to add Mermaid diagrams to GitHub Markdown, I just needed to try this out.

This is an embedded version of the official sequence diagram from the chezmoi website.

sequenceDiagram
    participant $HOME
    participant working copy
    participant local repo
    participant remote repo
    $HOME->>local repo: chezmoi init
    $HOME->>working copy: chezmoi add <file>
    working copy->>working copy: chezmoi edit <file>
    working copy-->>$HOME: chezmoi diff
    working copy->>$HOME: chezmoi apply
    $HOME-->>working copy: chezmoi cd
    working copy->>local repo: git add
    working copy->>local repo: git commit
    local repo->>remote repo: git push
    local repo-->>$HOME: exit
Loading