# k88hudson/git-flight-rules architecture

> Architecture diagram of the GitHub repository k88hudson/git-flight-rules, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/k88hudson/git-flight-rules
- Repository: https://github.com/k88hudson/git-flight-rules

## Overview

Git Flight Rules is a procedural reference for programmers handling common Git problems, not a software runtime. The principal workflow is to identify a situation, consult its step-by-step guidance, then apply the documented Git commands. The README table of contents supports the listed topic areas; the available source index contains no implementation modules, so the graph models the guide’s documented capabilities rather than internal code. The README excerpt is partial, so only visible topic areas are represented.

Main entry points: [`README.md`](https://github.com/k88hudson/git-flight-rules/blob/master/README.md) (Flight rules guide)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_repository_work["Repository Work"]
  node_repository_setup["Repository setup<br/>[README.md]"]
  node_contribution["Contributing changes<br/>[README.md]"]
end

subgraph group_change_history["Change History"]
  node_commit_editing["Editing commits<br/>[README.md]"]
  node_history_rewriting["History cleanup<br/>[README.md]"]
end

subgraph group_working_tree["Working Tree"]
  node_staging["Staging changes<br/>[README.md]"]
  node_discarding["Discarding changes<br/>[README.md]"]
end

subgraph group_branch_work["Branch Work"]
  node_branch_management["Branch management<br/>[README.md]"]
  node_rebase_merge["Rebasing and merging<br/>[README.md]"]
end

node_programmer(("Git programmer"))
node_guide["Flight rules guide<br/>[README.md]"]
node_git["Git"]

node_programmer -->|"consults"| node_guide
node_guide -->|"covers"| node_repository_setup
node_guide -->|"covers"| node_contribution
node_guide -->|"covers"| node_commit_editing
node_guide -->|"covers"| node_history_rewriting
node_guide -->|"covers"| node_staging
node_guide -->|"covers"| node_discarding
node_guide -->|"covers"| node_branch_management
node_guide -->|"covers"| node_rebase_merge
node_programmer -->|"runs commands"| node_git

click node_guide "https://github.com/k88hudson/git-flight-rules/blob/master/README.md"
click node_repository_setup "https://github.com/k88hudson/git-flight-rules/blob/master/README.md"
click node_contribution "https://github.com/k88hudson/git-flight-rules/blob/master/README.md"
click node_commit_editing "https://github.com/k88hudson/git-flight-rules/blob/master/README.md"
click node_history_rewriting "https://github.com/k88hudson/git-flight-rules/blob/master/README.md"
click node_staging "https://github.com/k88hudson/git-flight-rules/blob/master/README.md"
click node_discarding "https://github.com/k88hudson/git-flight-rules/blob/master/README.md"
click node_branch_management "https://github.com/k88hudson/git-flight-rules/blob/master/README.md"
click node_rebase_merge "https://github.com/k88hudson/git-flight-rules/blob/master/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_repository_setup,node_contribution toneBlue
class node_commit_editing,node_history_rewriting toneAmber
class node_staging,node_discarding toneMint
class node_branch_management,node_rebase_merge toneRose
class node_programmer,node_git toneIndigo
class node_guide toneTeal
```

## Components

### Repository Work

- [Repository setup](https://github.com/k88hudson/git-flight-rules/blob/master/README.md): `README.md`
- [Contributing changes](https://github.com/k88hudson/git-flight-rules/blob/master/README.md): `README.md`

### Change History

- [Editing commits](https://github.com/k88hudson/git-flight-rules/blob/master/README.md): `README.md`
- [History cleanup](https://github.com/k88hudson/git-flight-rules/blob/master/README.md): `README.md`

### Working Tree

- [Staging changes](https://github.com/k88hudson/git-flight-rules/blob/master/README.md): `README.md`
- [Discarding changes](https://github.com/k88hudson/git-flight-rules/blob/master/README.md): `README.md`

### Branch Work

- [Branch management](https://github.com/k88hudson/git-flight-rules/blob/master/README.md): `README.md`
- [Rebasing and merging](https://github.com/k88hudson/git-flight-rules/blob/master/README.md): `README.md`

### Other components

- **Git programmer**
- [Flight rules guide](https://github.com/k88hudson/git-flight-rules/blob/master/README.md): `README.md`
- **Git**

## Connections

- Git programmer → Flight rules guide: consults (evidence: `README.md`)
- Flight rules guide → Repository setup: covers (evidence: `README.md`)
- Flight rules guide → Contributing changes: covers (evidence: `README.md`)
- Flight rules guide → Editing commits: covers (evidence: `README.md`)
- Flight rules guide → History cleanup: covers (evidence: `README.md`)
- Flight rules guide → Staging changes: covers (evidence: `README.md`)
- Flight rules guide → Discarding changes: covers (evidence: `README.md`)
- Flight rules guide → Branch management: covers (evidence: `README.md`)
- Flight rules guide → Rebasing and merging: covers (evidence: `README.md`)
- Git programmer → Git: runs commands (evidence: `README.md`)
