Open atc0005 opened 1 year ago
For now I'll likely opt to use the "Retain history (use merge commit)" approach.
Later, I suspect I'll switch to the first so that the development branch history is easier to follow as a distinct timeline.
Later, I suspect I'll switch to the first so that the development branch history is easier to follow as a distinct timeline.
I might be switching sooner than I expected:
This includes in the "What's Changed" listing the specific PRs previously merged to the master
branch and pulled in via the "sync latest changes" PR.
That's not necessarily an issue, but some items do not apply.
Example:
Those dependency update changes are specific to the master
branch and not the development
branch that this pre-release tag (and release) was cut from; the development
branch uses a different version of Go than the master
branch (1.21rc3 vs 1.19.11) so technically this list of changes do not apply.
Until I run into issues with the approach I plan to start using the "Drop history" approach from my notes above for syncing changes from the master
branch to the development
branch.
Drop history
This will drop the commit history, but pull the relevant changes:
We work around the loss of commit history for the
master
branch by noting the last commit made to that branch as part of the commit message in our commit to thesync-from-master
branch.NOTE:
gpcd
is a local shell alias to pull changes into thedevelopment
branch and then prune any topic branches associated with that branch which have already been merged.Retain history (use merge commit)
This retains the commit history for the
master
branch.NOTE:
gpcd
is a local shell alias to pull changes into thedevelopment
branch and then prune any topic branches associated with that branch which have already been merged.References:
master
branch into thedevelopment
branchmaster
branch