Skip to content

Instantly share code, notes, and snippets.

@realdadfish
Created December 5, 2016 12:16
Show Gist options
  • Save realdadfish/922491f83d1f4d4f19aa9b46c74f3796 to your computer and use it in GitHub Desktop.
Save realdadfish/922491f83d1f4d4f19aa9b46c74f3796 to your computer and use it in GitHub Desktop.
curl -X POST \
--digest --user test:... \
-H "Content-Type: application/json"
-d '{"project":"Foo","branch":"master","change_id":"I4428a11e0bee8d9dbc43fe7adc1e61039218ef24","status":"NEW","merge":{"source":"refs/heads/new-bar"},"subject":"New bar"}' \
https://my.gerrit.instance/a/changes/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment