Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semantic Commit Messages untuk format message git commit #33

Open
janucaria opened this issue Sep 13, 2018 · 0 comments
Open

Semantic Commit Messages untuk format message git commit #33

janucaria opened this issue Sep 13, 2018 · 0 comments

Comments

@janucaria
Copy link
Contributor

Ada baiknya git commit message menggunakan format yang disepakati.

Salah satu format yang populer seperti dibawah ini

format

<type>[optional scope]: <description>

[optional body]

[optional footer]

Format memiliki tiga bagian yaitu header, body dan footer. Header sendiri adalah Message subject dan terdiri dari tiga bagian, yaitu type, scope dan description.

contoh

fix(form): reset input form setiap nambah entry baru

Tambah fungsi `clearForm` untuk reset input form, dst...

Fixes #27

manfaat

  • changelog bisa terbuat otomatis
  • navigasi lebih simple sepanjang git history (misal. mengabaikan perubahan pada code style)

lebih jelasnya pada referensi berikut

  1. http://karma-runner.github.io/2.0/dev/git-commit-msg.html
  2. https://conventionalcommits.org/
  3. https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant