8de33f0b7c
Change-Id: I90a692852dae1219093beeb8a17fadc61c8dd7a0
10 lines
279 B
Bash
Executable File
10 lines
279 B
Bash
Executable File
#!/bin/sh -ex
|
|
FROM="${1:-origin/master}"
|
|
TO="${2:-gerrit/master}"
|
|
CHANGE_ID="I9b01715ce955d695fe6334bdec62545d101f4f38"
|
|
git review -s
|
|
COMMIT="$(git commit-tree -p "$TO" -m "All-in-one from GitHub
|
|
|
|
Change-Id: $CHANGE_ID" "$FROM^{tree}")"
|
|
git push gerrit "$COMMIT":refs/for/master
|