Skip to content

GitHub

You can created an account here on GitHub.

Setup Authentication

PAT

SSH

Pull Requests

Merging Strategies

  • Create a merge commit
  • Squash and merge
  • Rebase and merge

Clone vs Fork

Repo Settings

Pull requests

  • Pull Requests methods -> squash commit
  • Always suggest updating pull request branches
  • Allow for Auto merge
  • Automatically delete head branches

Branch protection rules

  • Require a pull request before merging
  • Require approvals
  • Dismiss stale pull request approvals when new commits are pushed
  • Require status checks to pass before merging