Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 536 Bytes

Setup_repo_for_a_project.md

File metadata and controls

11 lines (9 loc) · 536 Bytes

Create a git repository for Production ready code.

Repository setup for a Project in the real-world

  1. Create a private repository
  2. Create 3 branches (Prod, Staging and Dev)
  3. Add team as collaborators to this repository.
  4. Enable SSH based authentication
  5. Protect Master and staging branches
  6. 1 approval needed to check-in code on staging branch and 2 approvals needed to check-in code on to Prod branch
  7. Build and Deploy should be successful before check-in the code onto staging branch as well as onto Prod branch