-
Notifications
You must be signed in to change notification settings - Fork 2
Git Rules
For this project, we use Feature branches with Pull Requests for merging into master. (Source: https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow)
feature/your-branch-name : any work on a feature of the project
bugfix/your-branch-name : any work on a bug of the project
The commit message must describe explicitly what are your changes. Those changes must address only one specific task.
When you're done with your branch, you'll probably want to merge it into master. Please do a Pull Request.
Let's say we want to add an exit button to the interface. We would want to create a new branch from master named like this:
feature/exit-button
When we commit on that new branch we would like to have specific commit messages. For example, if we change the position position of the exit button to the top-right corner we would have this message:
"Moved button to top-right corner"
- Never work directly on master branch
- Write the issue number into your commit message.