I've created the branchA from branch develop
# git checkout -b branchA
# git push origin -u branchA
modify some files
# git add *
# git commit -m "modification in branchA"
# git push
# git checkout develop
# git merge branchA
# git push
then I've created another branch
# git checkout -b branchB
# git push origin -u branchB
modify some files
# git add *
# git commit -m "modification in branchB"
# git push
# git checkout develop
# git merge branchB
# git push
Then again working in branchA
# git checkout branchA
I modified 1 JSP (home.jsp)
# git add *
# git commit -m "modification in branchA"
# git push
# git checkout develop
# git merge branchA
# git push
Then I come back to branchB
# git checkout branchB
# git pull
But I don't have the changes I made in home.jsp
git log --graph --alland rungit merge develop.