0

I am looking for an easier way to push changes to Gerrit review branch. My repo contains several branches and now I need to use the full push command:

git push origin HEAD:refs/for/<branch>

And I would like to use something easier for every branch like git push or git push <remote>. I found some answer for this, but it is works only with master branch.
Any idea? Thanks in advance.

Community
  • 1
  • 1
laplasz
  • 3,359
  • 1
  • 29
  • 40

1 Answers1

1

Try using git-review. You will be able to push your code with simple command

git review branchname
fracz
  • 20,536
  • 18
  • 103
  • 149