scripts/git: Improve usage documentation for merge-forward and push-all

Part of 31314.
This commit is contained in:
teor
2019-08-29 22:52:21 +10:00
parent b47b71ad2f
commit 664e6a392e
2 changed files with 31 additions and 6 deletions
+12
View File
@@ -1,5 +1,17 @@
#!/usr/bin/env bash
# Usage: git-merge-forward.sh -n -t <test-branch-prefix> -u
# arguments:
# -n: dry run mode
# -t: test branch mode: create new branches from the commits checked
# out in each maint directory. Call these branches prefix_029,
# prefix_035, ... , prefix_master.
# -u: in test branch mode, if a prefix_* branch exists, skip creating
# that branch. Use after a merge error, to restart the merge
# forward at the first unmerged branch.
# env vars:
# See the Configuration section for env vars and their default values.
#################
# Configuration #
#################