prepare to merge branches