Work with Gerrit: git review-update
Published at January 26, 2019 · 1 min read
If you work with Gerrit you use its CLI tool git review. Working with OpenStack, I use it a lot every day. I need to update the last patch and send it to the Gerrit very often. That’s why I created one line script to execute git commit -a --amend && git review command. I put it into the /usr/local/bin/git-review-update file with a following content: #!/bin/sh git commit -a --amend && git review Now, I can use git review-update command to update the last patch and send it to Gerrit....