Just use "repo upload".
Put the dangerous command that you want to run second, second.
Change-Id: I0d47f2a81cc2967573d80cbf1ac61d36936c3d06
diff --git a/Android.mk b/Android.mk
index 26b54ee..e95a485 100644
--- a/Android.mk
+++ b/Android.mk
@@ -25,8 +25,8 @@
# git merge toybox/master
# mm -j32
# # (Make any necessary Android.mk changes and test the new toybox.)
+# repo upload .
# git push aosp HEAD:master # Push directly, avoiding gerrit.
-# git push aosp HEAD:refs/for/master # Push to gerrit.
#
# # Now commit any necessary Android.mk changes like normal:
# repo start post-sync .