Git & CollaborationBeginner
Merge
PronunciationMERJ
Definition
Combining the changes from one branch into another, usually a feature branch into main.
Where you hear it
Pull requests and release time.
Examples
The pull request was approved and merged.
Merge
maininto your branch to get the latest changes.After the merge, the feature is on the main branch but not yet deployed.
Common mistake
Merging without running the tests. Always let the checks finish first.
Don't confuse with
Merge combines branches by creating a new commit that preserves history, while rebase rewrites project history by moving your commits on top of another branch.
Say it at work
- In a meeting or chat
Can someone please review and merge this pull request when you have a moment?
- In an email or ticket
Please merge the latest changes from the staging branch before submitting your code for review.
Keep exploring
More in Git & Collaboration