I tried executing the command git push gerrit HEAD: refs/for/BR_PS_1109
It gave the response: fatal: remote part of refspec is not a valid name in HEAD:
Git remote version is also fine, as evident below:-
vverma@l-vverma:~/git_repo/nextag$ git remote -v
gerrit ssh://[email protected]:29418/apps/nextag (fetch)
gerrit ssh://[email protected]:29418/apps/nextag (push)
origin [email protected]:apps/nextag (fetch)
origin [email protected]:apps/nextag (push)