Git merge development branch to master branch

In this tutorial, How to use Git merge development branch to master branch?

The current development branch is develop

$ git branch

The screen output terminal:

* develop
master

For example, You want to merge branch develop to branch master as below

$ git checkout master
$ git pull origin master
$ git merge develop
$ git push origin master

Conclusion

Thought the article, you can use the “Git merge development branch to master branch” as above. I hope will this your helpful. 

About HuuPV

My name is Huu. I love technology and especially Devops Skill such as Docker, vagrant, git so forth. I likes open-sources. so I created DevopsRoles.com site to share the knowledge that I have learned. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.