I'm just starting to use GIT, and i'm trying to understand if i'm correct. Let's say we have branch Master, branches Bug1, Bug2 If i want to merge branch Bug1 into Bug2, i would do something like:
git checkout bug2
git merge bug 1
git commit -m "Merged Branch bug1 into branch bug2"
git push
So, does it correct way to merge branch Bug1 into branch Bug2?