GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sentry-javascript/docs/gitflow.md at develop · getsentry/sentry-javascript

Expand file tree

/

gitflow.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
33 lines (23 loc) · 1.53 KB
/

gitflow.md

Copy path

File metadata and controls

33 lines (23 loc) · 1.53 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Gitflow

We use Gitflow as a branching model.

Summary

  • Ongoing work happens on the develop branch
  • Any PRs (features, ...) are implemented as PRs against develop
  • When we are ready to release, we merge develop into master, create a release there, then merge master back into develop
  • Whatever is currently on master can be considered the last released state of the SDK
  • Never merge directly into master (unless we want e.g. an emergency bugfix release)

gitflow-chart

Important Caveats

While a release is pending, we may merge anything into develop, except for changes to package.json files. If we change the package.json files on develop, the gitflow PR master -> develop will have merge conflicts, because during the release the package.json files are updated on master.

What to do if there is a merge conflict?

Although gitflow should help us to avoid merge conflicts, as mentioned above in "Important Caveats" it can still happen that you get a merge conflict when trying to merge master into develop after a successful release.

If this happen, you can resolve this as follows:

  • Close the automated PR that was created by the gitflow automation
  • Create a new branch on top of master (e.g. manual-develop-sync)
  • Merge develop into this branch, with a merge commit (and fix any merge conflicts that come up)
  • Now create a PR against develop from your branch (e.g. manual-develop-sync)
  • Merge this PR with a merge commit
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.