2025-04-15 20:25:09 +05:00

16 lines
588 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Слияние веток
slug: knowledge-base/rabota-s-git/osnovnye-komandy/sliyanie-vetok
---
`git merge` — объединяет одну ветку с другой. Обычно используется, чтобы влить изменения из feature-ветки в основную (main или master).
### Пример:
```bash
git checkout main
git merge feature-x
```
После слияния история двух веток объединяется. Если есть конфликты — Git попросит их вручную разрешить.