To merge mybranch to stable, just using
git commit -m 'last comment'
git checkout stable
git merge mybranch
Question
I am having troubles using pull request using the git command line. Let's say I have a branch called 'stable' that acts like my master branch. So I have a branch called 'mybranch' coming out of stable. I update my code in 'mybranch' and now I want to make a pull request for my branch to stable using the git bash command line. I use github as my git repo. I tried the following:
git checkout stable
which makes me to be on the stable branch. To make a pull request for my branch i use the following command:
git pull origin mybranch
and then, I update the stable branch to the github repo as: git push origin stable that pushes my 'stable' branch on github. However, I cannot see my branch being merged or being pulled to the stable branch. I don't know If I am doing something wrong. Any suggestions ?
Pas de solution correcte
Autres conseils
To merge mybranch to stable, just using
git commit -m 'last comment'
git checkout stable
git merge mybranch
Phew! You have mixed a lot of things :-)
what I udnerstand from your question is:
Caution: Too much mixing of concepts is very injurious to health :)