git - Rebasing with preserving merges -
i new git , haven't been able practice lot. asking question here before issue command our main repo.
i @ branch featurex , want rebase master (with merge history) ... , push stream branch. have read couple of things , came following set of commands
git rebase --preserve-merges master featurexgit push -u origin featurex
however, given there no place can test out not sure if right command issue on our main repo.
rebasing rewrites history. if want preserve history exactly, don't rebase. merge instead.
Comments
Post a Comment