Skip to content

Instantly share code, notes, and snippets.

@rolroralra
Created July 13, 2022 07:56
Show Gist options
  • Save rolroralra/a6c0170486b38183dcf55cbc2c9dd6f9 to your computer and use it in GitHub Desktop.
Save rolroralra/a6c0170486b38183dcf55cbc2c9dd6f9 to your computer and use it in GitHub Desktop.
Gerrit

merge-review

merge-review = "!f() { git checkout develop; git branch -D merge/\"$2\"; git fetch gerrit; git checkout -b merge/\"$2\" gerrit/\"$2\"; git merge --no-ff gerrit/\"$1\"; git review -R \"$2\"; }; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment