Answers for "how to commit to branch github"


github branch to master

git checkout master #checkout to master branch
git pull origin master #Now pull the latest changes in master,
git merge testBranch #Merge with the testBranch
git push origin master #Push the changes to master
Posted by: Guest on October-14-2021

Browse Popular Code Answers by Language