Skip to content

Merging

Hunter Rancourt edited this page Aug 19, 2020 · 3 revisions

Always choose to Squash and merge on github

Use the same commit title structure as a standard commit see the Commit Messages section of the Commits Page

  • The PR commit's title should have a link back to the PR itself append to the end
  • This should happen automatically when you click Squash and merge and Github should autolink the PR if you enter #[PR number]
  • Alternatively you may append the following to the title [#<pull request number>](https://github.com/itcig/<repo>/pull/<PR number>)
  • The end result should look like this 👉 (#1)

The body will be auto generated and should contain bullets for every commit within using the commit's title as the text following the bullet, the commit's body if it has one will be listed beneath the bullet

Clone this wiki locally