How htomash/proyecto-1 works
Project type and purpose
• This “Proyecto-1” is not a full-stack application but a simple Git-repository structure used to test Git operations.
• It contains three key directories: “Troncal” (the main branch’s working files), “Ramas” (branch snapshots), and “Etiquetas” (tag snapshots), plus a few SQL and INI files.
File structure
• Top level:
• .gitignore
• README.md
• Etiquetas/
• Ramas/
• Troncal/
• “Troncal” holds the primary SQL scripts (exercises, tasks, solutions).
• “Ramas” and “Etiquetas” mirror the INI file to represent branch and tag states.
README
• Confirms the repo’s sole purpose: a Git functionality test.
a. Main components:
• Local Working Directory
• Git Staging Area (Index)
• Local Repository (.git folder)
• Remote Repository (e.g., origin)
• Branches (Troncal, any feature branch in Ramas)
• Tags (snapshots in Etiquetas)
b. Relationships & interactions:
• Edits in Working Directory → stage to Index → commit to Local Repo
• push/pull between Local Repo ↔ Remote Repo
• Branch creation: Local Repo → Ramas folder
• Tag creation: Local Repo → Etiquetas folder
c. Architectural patterns/principles:
• Version-control workflow (Git DVCS model)
• Separation of concerns: working files vs. commits vs. remote sync
d. Key technologies:
• Git CLI or GUI client
• SQL files in “Troncal” as sample artifacts
• INI files to mark snapshots