How to merge Git branch

How to merge Git branch
  • Related posts
How to push on Git
refer How to switch Git branchRefer How to first commit on GitI used to GitLab before, and now I have set up Gitea on my Synology NAS server. šŸ’” tip: This post is a simple guide on how to use Git. First of all, I want to manage to branch: * main:

Last time, We learned about how to push on Git.

So, Secondary remote branch(develop) is updated, but primary remote branch(main)? No.

Now, I will teach how to merge Git branch.

šŸ’” tip: This post is a simple guide on how to use Git.

Web

  1. Check your Git branch
  2. Click to "Branches" menu
  3. Click to "New Pull Request" button
  4. Check "Comparing changes" label

merge into: primary(main) <- pull from: secondary(develop)

  1. Add "[MR]" on "Title" input
  2. Write detail on "Write" input
  3. Click to "Create Pull Request" button
  4. Click to "Create merge commit" button
  5. Click to "Create merge commit" button again
  6. Check primary branch(main)