Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

ssc-spc-ccoe-cei/github-handbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

GitHub

GitHub is a widely used platform for source code management. It allows teams to collaboratively work on code and documentation, with both internal and external partners.

Setup

If you don't already have a GitHub account, please visit github.com and sign-up.

  1. Send a message to Steve or Jun to add you to the organization.
  2. You'll probably want to tweak your notification settings, specifically the Automatically watch repositories option.
  3. You'll want to become familiar with a git client. Some options include:

Rules and Guidance

  • Do not store private or sensitive data in GitHub. This includes passwords, keys, personal data, private configuration data. If you think you pushed anything private to GitHub, consider it compromised and notify your manager.

  • Repositories should be public unless there is a compelling reason to keep it private. Starting with a public repo and making the source code open from the beginning is much easier than starting as a closed source project are then attempting to open source it when it's "ready". If you're unsure, ask your manager.

  • The Government of Canada position on Open Source is to open source code by default when possible:

  • Projects that are no longer maintained should be Archived instead of deleted.

  • Do not commit code directly to the main branch. The recommended practice is to create a feature branch and a pull request when your code is ready to be merged. Please read GitFlow for more detailed information.

  • Repositories should be given a useful name that decribes the project. For example, terraform-module-eks-cluster is more appropriate than eks.

  • Repository names should be all lower case and use - instead of _

About

Best practices and rules for using CCoE's GitHub organization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published