Skip to content

Instantly share code, notes, and snippets.

@HenryKun55
Last active May 13, 2022 14:09
Show Gist options
  • Save HenryKun55/12ad28fda20f8d8927d3b67e81df0d0c to your computer and use it in GitHub Desktop.
Save HenryKun55/12ad28fda20f8d8927d3b67e81df0d0c to your computer and use it in GitHub Desktop.
Guideline Dristrito (Front-end)

Heeey, Distriters!

πŸ’‘ A little guideline to our projects frontend, is open to contribute with all Distriters!

πŸ“– Summary

Git


Git

Sprint Name

In order to facilitate the contribution of anyone in a project, all Sprint Names must be the code of s<number_of_strping>.

Ex:

Sprint 71 >>>>> s71

Jira ID

In order to facilitate the contribution of anyone in a project, all Jira ID's must be the code of Your Task ID in Jira.

Branch Name

In order to facilitate the contribution of anyone in a project, all branch names must be in English.

So the structure need to be:

git fetch -p
git checkout main
git pull origin main
git reset --hard origin/main
git checkout -b <type>/<sprint_name>-<jira_id>

Commit Messages

In order to facilitate the contribution of anyone in a project, all commit messages must be in English.

We also use conventional commit messages, that is, the commit message must be in the form of a sentence, with the first word being an action, and the rest of the sentence a describing text.

So the structure need to be:

git commit -m "feat/<sprint_name>-<jira_id>: create component"

πŸ’™ Contributing

PR's are welcome !

Found a Bug ? Create an Issue.

Chat on Rocketchat


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment