Lewati ke konten utama

Everyday Development

Everyday Development

Preview First

Bawa reviewed working-tree changes melalui commit-message validation, commit creation, dan branch push.

Commandcusty run dev

Category

User Guide

Quick Command

custy --dry-run run dev [OPTIONS]

daily workflowcommitpush

Tujuan

Gunakan Dev ketika reviewed daily work harus membuat satu local commit lalu berakhir dengan remote branch push. Release artifacts, changelog generation, version changes, dan tags berada di luar profile ini.


Before You Begin

Before You Begin

  • Custy resources existRequired

    Project configuration dan commit-message file di-resolve sesuai tujuan.

  • The active branch is correctRequired

    Branch yang ditampilkan Git adalah branch yang akan di-commit dan di-push.

  • Changes are understoodRequired

    Review unstaged dan staged differences agar unrelated work tidak ikut.

  • The commit message is readyRequired

    Configured commit-message file berisi reviewed message.

  • Remotes are intentionalRequired

    Setiap configured atau selected destination menunjuk ke expected repository.

Development preflight
bash
git status --short --branch
git diff
git diff --staged
git remote -v
custy validate

Recommended Journey

Daily Development

1
Review the working tree
Konfirmasi branch, changes, staged state, commit message, dan remotes.
completed
2
Preview Dev
Jalankan complete profile dalam global dry-run mode dan baca resolved files serta destinations.
completed
3
Review intent
Periksa commit-message editing, backup, staging, commit, dan branch-push messages.
completed
4
Execute normally
Jalankan Dev tanpa dry-run setelah seluruh reported actions dapat diterima.
current
5
Verify local and remote state
Periksa final status dan commit, lalu pastikan destination branch menerimanya.
pending
Preview, then execute
bash
custy --dry-run run dev
custy run dev

Apa yang Sebenarnya Disertakan Dev

Profile Effects

Validation

Validasi repository, commit-message, hook, dan remote readiness.

Commit Message

Buka dan validasi hanya configured commit-message file.

Backup and Commit

Backup commit message, prune retained backups, stage, dan commit.

Git Publication

Push branch HEAD ke resolved destinations tanpa mendorong tag.

Dev tidak menyiapkan atau menerapkan version, menginisialisasi release workflow, membuat release artifacts atau changelog, membuka tag message, membuat tag, atau mendorong tag. Exact 13-step order menjelaskan setiap internal step.


Verify Completion

Local verification
bash
git status --short --branch
git log -1 --decorate --stat
git tag --points-at HEAD
git remote -v

Expected commit harus tersedia dan working tree hanya menyisakan deliberately uncommitted work. Dev tidak boleh membuat release tag baru. Konfirmasi remote result melalui repository host atau appropriate Git fetch dan comparison workflow.

Lanjutkan