Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 2.06 KB

File metadata and controls

44 lines (30 loc) · 2.06 KB

Source Control

There are many different options when working with Source Control. In CSE we use AzureDevOps for private repositories and GitHub for public repositories.

Sections within Source Control

Goal

  • Following industry best practice to work in geo-distributed teams which encourage contributions from all across CSE as well as the broader OSS community
  • Improve code quality by enforcing reviews before merging into master branches
  • Improve traceability of features and fixes through a clean commit history

General Guidance

Consistency is important, so agree to the approach as a team before starting to code. Treat this as a design decision, so include a design proposal and review, in the same way as you would document all design decisions (see Working Agreements).

The team should at least be doing the following:

  • agree on their branch, release and merge strategy
  • define approach to commit history (linear or non-linear)
  • lock the default branch and merge using PRs
  • agree branch naming (e.g. user/your_alias/feature_name)
  • for public repositories:

Commit Best Practices

TODO: Add more content and details here!

  • Link work items
  • How often to commit
  • When to push

Resources