Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1008 Bytes

File metadata and controls

51 lines (36 loc) · 1008 Bytes

Standard fail-safe worfklow

Create issue an branch n GitHub/GitLab/Bitbucket

  • Create an issue or pick an existing one.
  • Create a new branch from main with the issue number and a short description.

Local development

  • Update local repository with main branch.
git checkout main
git pull

This will also give you the branch from the remote repository.

  • Switch to your feature branch.
git checkout feature/issue-123-description
  • Develop your feature or fix.
  • Stage and commit your changes.
git add .
git commit -m "Fix issue #123: Description"
  • Push your branch to the remote repository.
git push origin feature/issue-123-description

Pull request

  • Create a pull request on GitHub/GitLab/Bitbucket.
  • Assign reviewers and add labels.
  • Wait for the CI/CD pipeline to pass.
  • Merge the pull request after approval.
  • Delete the feature branch.
  • Update your local repository with the latest changes.
git checkout main
git pull