-
Notifications
You must be signed in to change notification settings - Fork 694
Commit Style Guide
A commit messages consists of three distinct parts separated by a blank line: the title, an optional body and an optional footer. The layout looks like this:
type: subject
body
footer
The title consists of the type of the message and subject.
The type is contained within the title and can be one of these types:
- feat: a new feature
- fix: a bug fix
- docs: changes to documentation
- style: formatting, missing semi colons, etc; no code change
- refactor: refactoring production code
- test: adding tests, refactoring test; no production code change
- chore: updating build tasks, package manager configs, etc; no production code change
Subjects should be no greater than 50 characters, should begin with a capital letter and do not end with a period.
Use an imperative tone to describe what a commit does, rather than what it did. For example, use change; not changed or changes.
Not all commits are complex enough to warrant a body, therefore it is optional and only used when a commit requires a bit of explanation and context. Use the body to explain the what and why of a commit, not the how.
When writing a body, the blank line between the title and the body is required and you should limit the length of each line to no more than 72 characters.
The footer is optional and is used to reference issue tracker IDs.
You can use this shell script in your path, to make your life a little easier.
https://gist.github.com/ishan1604/7eb182ea00e5b60b7e1fabbc19cb63b5
#Self Service API Documentation API: https://demo.mifos.io/api-docs/apiLive.htm#selfbasicauth
#Latest APK Drive Link: https://drive.google.com/open?id=0B5wnE0S3WxbsSVZ4MkdRejBCNjQ
#Demo Credentials
- Username: mifos
- Password: password