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
- Check your Git branch
- Click to "Branches" menu
- Click to "New Pull Request" button
- Check "Comparing changes" label
merge into: primary(main) <- pull from: secondary(develop)
- Add "[MR]" on "Title" input
- Write detail on "Write" input
- Click to "Create Pull Request" button
- Click to "Create merge commit" button
- Click to "Create merge commit" button again
- Check primary branch(main)