git - Complete Merge/Copy/Push of a Branch -
as part of build process, need make 1 branch another. needs actual branch (tagging not option).
both branches exist. destination branch never touched other process.
this have:
git checkout destination git merge source git push
does approach? there simpler way?
edit
to clarify, end goal take snapshot of source , push remote destination. each time specific build run.
i need make 1 branch another.
git branch -f one_branch
now one_branch
looks another
. if want have one_branch
checked out locally well, replace branch -f
checkout -b
.
Comments
Post a Comment