Skip to content

Instantly share code, notes, and snippets.

@nirajgiriXD
Last active March 18, 2024 10:57
Show Gist options
  • Save nirajgiriXD/2cefb862442159f363654e21e5373a42 to your computer and use it in GitHub Desktop.
Save nirajgiriXD/2cefb862442159f363654e21e5373a42 to your computer and use it in GitHub Desktop.
This gist outlines a comprehensive GitHub workflow and development process for managing projects collaboratively using Git and GitHub.

GitHub Workflow and Development Process

  • The main branch should be kept stable for potential releases.
  • Create a develop branch for ongoing development and set it as the default branch.
  • For adding a feature, create a branch starting with feat/ (e.g., feat/feature-name) from the develop branch.
  • For fixing an issue, create a branch starting with fix/ (e.g., fix/feature-name, fix/issue-name) from the develop branch.
  • For refactoring code, create a branch starting with ref/ (e.g., ref/feature-name, ref/v1.0.0) from the develop branch.
  • For release, create a branch starting with release/ (e.g., release/v1.0.0) from the develop branch.
  • Once the release branch is ready, merge it to the main branch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment