Chromium Code Reviews| Index: man/src/git-drover.demo.1.sh |
| diff --git a/man/src/git-drover.demo.1.sh b/man/src/git-drover.demo.1.sh |
| index f0e026775e13d756bc88cd2f388b780db727f5d3..6a36795e73a2c1f51ba63dc821c9adadd7e917ca 100755 |
| --- a/man/src/git-drover.demo.1.sh |
| +++ b/man/src/git-drover.demo.1.sh |
| @@ -18,11 +18,24 @@ comment Before working with branches, you must \'gclient sync \ |
| set_user branch.maintainer |
| tick 1000 |
| +echo "# Make sure we have the most up-to-date branch sources." |
| +run git fetch |
| +echo |
| +echo "# Here's the commit we want to 'drover'." |
| run git log -n 1 --pretty=fuller |
| +echo |
| +echo "# Checkout the branch we want to 'drover' to." |
| run git checkout -b drover_9999 branch-heads/9999 |
| -echo "# DO NOT leave off the '-x' flag" |
| +echo |
| +echo "# Now do the 'drover'." |
| +echo "# IMPORTANT!!! Do Not leave off the '-x' flag" |
| run git cherry-pick -x $(git show-ref -s pick_commit) |
| +echo |
| +echo "# That took the code authored by some.commiter and commited it to the" |
| +echo "# branch by branch.maintainer (us)." |
| run git log -n 1 --pretty=fuller |
| +echo |
| +echo "# Looks good. Ship it!" |
| pcommand git cl upload |
|
iannucci
2014/08/25 23:38:37
mention that you can skip this and just do the `la
Michael Moss
2014/08/25 23:47:33
Done.
|
| echo "# Get LGTM or TBR." |
| run git cl land |