Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git merge branch into main

You can run your tests, make sure the hotfix is what you want, and finally merge the hotfix branch back into your master branch to deploy to production. You do this with the git merge command:

$ git checkout master
$ git merge hotfix
Source by git-scm.com #
 
PREVIOUS NEXT
Tagged: #git #merge #branch #main
ADD COMMENT
Topic
Name
4+9 =