We track stuff that needs doing over in issues.
-
Check out a new branch for your work from
devbranch. -
Do your thing.
- Be sure to update any relevant help text.
- Try to be PEP8 compliant.
-
When your changes are ready to be merged back into
devbranch, do agit pull --rebasefromdevto make sure your branch is up to date with the most recentdevand to replay your changes over the updateddevwork. -
Resolve any merge conflicts, of course, and push your updated branch.
-
Use
git rebase -i HEAD~x(wherexis the number of recent commits you would like to see) to clean up your commit history; the goal is to squish your work into a clean and sensible flow, and to weed out things like five consecutive "typo fix" commits. -
Force-push your cleaned-up personal branch (I don't care about rewriting history in these small auxiliary branches - I'd rather have a cleaner, easier-to-follow history in
master). -
Make a merge request from your new branch back into
dev.- If your work addresses an issue, please reference it in the body of the MR.
- If your work resolves an issue, please use Git's issue-resolution
keywords in the body of the MR (examples:
closes #1,fixes #1, etc.)