Source Control (5-3), GitHub Merge: in GitHub, GitHub Desktop, Visual Studio

Note: this article is published on 03/08/2025.

This is a series of articles related to Source Control. If you have read my other articles in this series, you may skip the top general part and jump to INTRODUCTION for the specific topic of this article.

This is a series of articles related to Source Control or Version Control issues, from a stand-alone app, such as MS SourceSafe, to a Server app, such as MS TFS (Team Foundation Server), to web services such as GitHub, AWS, and MS Azure DevOps. We have tried to categorize this series of articles as Source Control or Version Control, but this site does not have these categories. So, we put the articles in the DevOps category, as explained in the Wiki:

DevOps is a set of practices that combines software development (Dev) and IT operations (Ops). It aims to shorten the systems development life cycle and provide continuous delivery with high software quality.[1] DevOps is complementary to Agile software development; several DevOps aspects came from the Agile methodology.

The structure of this article series will cover:

  • Stand Alone App:
    • MS Source Safe
  • Server App
    • MS TFS (Team Foundation Server)
  • Online (Cloud) Centralized Service:
    • MS Azure: DevOps
      • Boards
      • Repos
      • Pipelines
      • Test Plans
      • Artifacts
    • GitHub
    • AWS GitHub Enterprise
  • Distributed App:
    • Git

Because these are huge topics, I will not go step by step. Instead, each section will be relatively independent and will become a reading unit.

A - Introduction

This article is a brief summary of GitHub merge from Visual Studio, GitHub, and GitHub Desktop:

  • A -  Introduction
  • B - Merge from Visual Studio
  • C-  Merge from GitHub Desktop
  • D - Merge from GitHub

We want to merge Branch Main to Branch dev-hpes-sprint-83

B - Merge from Visual Studio

Make the target branch as current:

Click Merge 'main' into 'dev-hpes-sprint-83' => Get the merge window:

Merge:

We got the conflict items to be handled.

C-  Merge from GitHub Desktop

Make the target branch as current:

Click Branch Tab => Compare to branch (we can use Merge into current branch directly)

Choose Merged Branch: main

We got the differences => Click Create a merge commit

You should handle the conflicts before creating a merge commit.

D -  Merge from GitHub

Make a new Pull Request:

Got the differences:

Create a Pull Request, 

Then, merge.

Up Next
    Ebook Download
    View all
    Learn
    View all