- 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 thedevelop
branch. - For fixing an issue, create a branch starting with
fix/
(e.g.,fix/feature-name
,fix/issue-name
) from thedevelop
branch. - For refactoring code, create a branch starting with
ref/
(e.g.,ref/feature-name
,ref/v1.0.0
) from thedevelop
branch. - For release, create a branch starting with
release/
(e.g.,release/v1.0.0
) from thedevelop
branch. - Once the release branch is ready, merge it to the
main
branch.
Last active
March 18, 2024 10:57
-
-
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment