Lewati ke konten utama

Examples

Examples

Practical Guide

Gunakan Branch Cleanup dalam beberapa skenario umum.

Commandcusty cleanup branches

Category

Maintenance

Quick Command

custy cleanup branches

Ringkasan​

Examples

Practical command examples.

Gunakan Project Configuration

Jalankan kebijakan cleanup proyek.

CLI
custy cleanup branches

Batasi Prefix

Pilih release branches.

CLI
custy cleanup branches --include-prefix release/

Semua Merge Status

Override merge status.

CLI
custy cleanup branches --merge-status all

Lebih Lama dari 30 Hari

Gunakan usia relatif.

CLI
custy cleanup branches --max-age 30d

Sebelum Tanggal Tertentu

Gunakan tanggal absolut.

CLI
custy cleanup branches --before 2026-07-01

Preview Cleanup

Tinjau kandidat tanpa menghapus.

CLI
custy --dry-run cleanup branches

Debug Cleanup

Tambahkan diagnostik.

CLI
custy --debug cleanup branches