Hiking-Logbook

Hiking Logbook – Git Methodology Documentation

This document defines the Git workflow, commit conventions, and version control standards for the Hiking Logbook project.
It serves as the “Git How We Work” manual for all contributors.

Note:
These Git standards are living rules and may evolve as the project grows.
Updates will be tracked through Git commits.


1. Commit Conventions

We follow Conventional Commits:

Type Example Commit Message
feat feat: add user login functionality
fix fix: correct typo in dashboard
docs docs: update API README
test test: add unit tests for hike module
chore chore: update dependencies
refactor refactor: simplify hike calculation logic

Rules:


2. Git Methodology

We are using Gitflow branching model which contains:

3. Branch Rules & CI Pipeline

Main Branch

Dev Branch

CI/CD Pipeline


4. Developer Git Workflow

Workflow Before Commit

  1. Run npm run lint
  2. Run npm run lint:fix
  3. Run npm run format
  4. Run tests with npm test
  5. Commit changes following Conventional Commits

IDE Setup


Purpose

These Git standards ensure that: