Relative Content

Tag Archive for gitmerge

Merge only branch-specific changes

In our git workflow we have two merge destinations: a dev branch which holds all the work from our finished feature branches, and a release branch where we left out some features that are not yet ready for practical use and apply some extra settings. These two branches diverged sometime in the past.

How best to merge many git branches appending to a single file?

I have a repo with some automation that’s failed badly. The automation should retrieve a file from the git repo, append “a record,” which is multiple lines, push up a new branch, open a pull/merge request for that branch to be merged to the default, and then automatically merge after a successful CI run. Failure in that last step has left me with 50 open, conflicting MRs.