FHM28052601 - tambah dokumentasi auto sync devcpone di AGENTS.md dan CLAUDE.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
12
AGENTS.md
12
AGENTS.md
@@ -16,5 +16,15 @@
|
||||
|
||||
## Git Flow (Saat Diminta Commit/Push)
|
||||
- Inspeksi minimal: jalankan `git status` dan `git diff --stat` dulu.
|
||||
- Buat commit message singkat dan jelas.
|
||||
- **Sebelum membuat commit, selalu tanya kode task kepada user.**
|
||||
- Format commit message wajib: `TASKCODE - deskripsi singkat`
|
||||
- Contoh: `6D9QD6 - buat api baru`
|
||||
- Jangan buat commit tanpa kode task dari user.
|
||||
- Kode task digunakan untuk sinkronisasi timesheet Odoo.
|
||||
- Lalu `git push` tanpa kerja tambahan yang tidak diperlukan.
|
||||
|
||||
## Auto Sync ke Devcpone
|
||||
- Repo ini punya **post-commit hook** di `.githooks/post-commit` yang otomatis menjalankan `scripts/devcpone_sync.sh`.
|
||||
- Setiap `git commit` di branch `master` akan langsung rsync file yang berubah ke `devcpone.aplikasi.web.id:/home/one/project/one/one-ui/`.
|
||||
- Hook sudah aktif (`core.hooksPath = .githooks`), tidak perlu jalankan script deploy manual.
|
||||
- Jangan bilang tidak ada hook/sync sebelum mengecek `.githooks/` dan `scripts/` terlebih dahulu.
|
||||
|
||||
12
CLAUDE.md
Normal file
12
CLAUDE.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# Commit Message Format
|
||||
- Sebelum membuat commit, **selalu tanya kode task** kepada user.
|
||||
- Format commit message wajib: `TASKCODE - deskripsi singkat`
|
||||
- Contoh: `6D9QD6 - buat api baru`
|
||||
- Jangan buat commit tanpa kode task dari user.
|
||||
- Kode task digunakan untuk sinkronisasi timesheet Odoo.
|
||||
|
||||
# Auto Sync ke Devcpone
|
||||
- Repo ini punya **post-commit hook** di `.githooks/post-commit` yang otomatis menjalankan `scripts/devcpone_sync.sh`.
|
||||
- Setiap `git commit` di branch `master` akan langsung rsync file yang berubah ke `devcpone.aplikasi.web.id:/home/one/project/one/one-ui/`.
|
||||
- Hook sudah aktif (`core.hooksPath = .githooks`), tidak perlu jalankan script deploy manual.
|
||||
- Jangan bilang tidak ada hook/sync sebelum mengecek `.githooks/` dan `scripts/` terlebih dahulu.
|
||||
Reference in New Issue
Block a user