Marcin Kossowski
Marcin Kossowski

Reputation: 86

Merge branch by someone else

Is it possible for someone to merge my branch?

Ie if I make a branch and commit it, can someone else that also owns that repository merge my branch with the main one? And if yes, how does this work?

Upvotes: 1

Views: 1520

Answers (1)

Bijendra
Bijendra

Reputation: 10053

Yes, you can do that. When you work in a group with each person having access to repo. Anyone can perform . Say if you want to merge a branch(fix) to master.

 $ git checkout master
 $ git merge fix

Refer this: Git Branching - Basic Branching and Merging

Also have a look over this related qsn: Best (and safest) way to merge a git branch into master

Upvotes: 2

Related Questions