Skip to content

Latest commit

 

History

History
executable file
·
10 lines (9 loc) · 328 Bytes

Replace-content-one-branch-from-another.md

File metadata and controls

executable file
·
10 lines (9 loc) · 328 Bytes

Ситуация:

Если нам нужно полностью заменить содержимое master c другой ветки

Решение:

git checkout merged_branch git merge -s ours master git checkout master git merge merged_branch