While working with Gerrit, I created a new feature branch from master locally and then pushed it to the remote repository. That part works fine and the new branch can be seen on the remote.
But when I commit to that feature branch and try to push it, all my changes go to master branch. I don't understand why?
I double checked my location by running
git branch
(it is pointing to my feature branch)
Please explain what's going on here.