Update Git branches from master

0 votes

Hi Team,

I am new to Git. I have two branches. How do I update all other branches with master branch code?

Jan 4 in Git & GitHub by akhtar
• 38,210 points
165 views

1 answer to this question.

0 votes

Hi@akhtar,

You can do merge. That is actually quite simple, and a perfectly local operation.

git checkout b1
git merge master
# repeat for b2 and b3
answered Jan 4 by MD
• 95,300 points

Related Questions In Git & GitHub

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Is there a way to remove a directory from git repository?

This is simple, just follow the commands ...READ MORE

answered Jul 13, 2018 in Git & GitHub by Sophie may
• 10,550 points
285 views
0 votes
1 answer

How do I solve a Git checkout error: updating paths is incompatible with switching branches?

This error occurs when you are checking ...READ MORE

answered Jul 26, 2018 in Git & GitHub by Sophie may
• 10,550 points
4,457 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,261 views
+2 votes
1 answer
0 votes
1 answer

How to get changes from master branch to a new branch in Git?

Hi@akhtar, You need to check out the branch and ...READ MORE

answered Jan 4 in Git & GitHub by MD
• 95,300 points
175 views
+2 votes
3 answers