How merge works in Git GitHub

0 votes


I'm new in Git & GitHub. I'm working in branch. But I'm not able to understand the merge concept.

Can anyone explain how to deal with merge??

Thank You

Jan 30, 2020 in Git & GitHub by Hasid
• 370 points

1 answer to this question.

0 votes


In Git & GitHub merge concept comes when we deal more than one branch.

Now what is branch??

Say,You have a file in your Machine . Now you want to share the same file to another person. So, you can do this by SSH,Gmail or any other way. But if you want to work together parallel in the same file, then the concept branch comes into place. Here you created another branch. In this both both of you work in the same file and after completion of the work, you merge the file.

Hope this will clear your doubt

Thank You

answered Jan 31, 2020 by MD
• 95,220 points

Related Questions In Git & GitHub

0 votes
0 answers

How to use p4merge tool in Git & GitHub?

Hi, Can someone tell me, how to use ...READ MORE

Jan 31, 2020 in Git & GitHub by akhtar
• 38,180 points
0 votes
1 answer

How to do a re-merge into another branch in git

Seems like you want to rebase your ...READ MORE

answered May 7, 2018 in Git & GitHub by DareDev
• 6,890 points
0 votes
1 answer

How to merge with squash in Git?

Hi@akhtar, If you want to merge your data ...READ MORE

answered May 13, 2020 in Git & GitHub by MD
• 95,220 points
+1 vote
1 answer

How to resolve merge conflicts in Git repository?

Hi@akhtar, You can try with git mergetool. It ...READ MORE

answered Nov 21, 2020 in Git & GitHub by MD
• 95,220 points
+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
+2 votes
1 answer
0 votes
1 answer

How can I retrieve previous version data in Git & GitHub!!?

Hi@akhtar, You can use reset command to do ...READ MORE

answered Jul 18, 2020 in Git & GitHub by MD
• 95,220 points
0 votes
1 answer

How to create branch in GitHub from my local Git repo?

Hi@akhtar, To sync your existing branch in GitHub, ...READ MORE

answered May 7, 2020 in Git & GitHub by MD
• 95,220 points