This guide explains the Git workflow you should follow when working on this repository. We use a simple feature-branch + pull request workflow so everyone’s work stays organized and reviewable.
- Update your local
main - Create a feature branch
- Make small commits with clear messages
- Push your branch
- Open a pull request (PR) to
main - Ensure CI is green, then merge
Avoid committing directly to main for shared work.
Start from an up-to-date main:
git checkout main
git pull origin mainCreate and switch to a new branch:
git checkout -b feature/add-login-screenBranch naming ideas:
feature/...for new featuresfix/...for bug fixesdocs/...for documentation
Write commit messages that are easy to understand.
Format:
Short summary (imperative, no period)
Optional details: what changed and why.
Examples:
Add login screen UIFix validation on empty task titleAdd Flutter CI workflow
Push your branch:
git push -u origin feature/add-login-screenThen on GitHub:
- Open a Pull Request targeting
main - Add a clear title and short description
- Wait for CI checks to finish
- If something fails, fix it and push again (the PR updates automatically)
CI failures are normal while learning. Read the logs in the GitHub Actions tab (or in the PR checks), fix the issue locally, then commit and push again.