-
Commit code changes to your own branch.
-
If you are behind master (or whatever branch you intend to merge your code to), then pull that branch into your branch.
git pull origin branch-name
- Resolve any conflicts. Commit and push again.
-
Create a pull request
-
Request a review from a team member if applicable.
-
Once ready for integration, merge pull request.
Notes:
- Work in your own branch.
- Commit frequently, pull master frequently.
- Merge code whenever stable.
- When encountering conflicts, work with team members to resolve.
- Write good commit comments. Describe features in Pull Requests.
- Comment your code, describe what it does. Clarify intent.