Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Side by Side Diff: man/src/git-drover.demo.1.sh

Issue 494873003: Add stub git-drover documentation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « man/src/git-drover.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env bash
2 . demo_repo.sh
3
4 silent git push origin refs/remotes/origin/master:refs/branch-heads/9999
5 silent git config --add remote.origin.fetch \
6 +refs/branch-heads/*:refs/remotes/branch-heads/*
7 silent git fetch origin
8
9 silent git checkout -b master origin/master
10 add modified_file
11 set_user some.committer
12 c "This change needs to go to branch 9999"
13 silent git tag pick_commit
14
15 comment Before working with branches, you must \'gclient sync \
16 --with_branch_heads\' at least once to fetch the branches.
17
18 set_user branch.maintainer
19 tick 1000
20
21 run git log -n 1 --pretty=fuller
22 run git checkout -b drover_9999 branch-heads/9999
23 echo "# DO NOT leave off the '-x' flag"
24 run git cherry-pick -x $(git show-ref -s pick_commit)
25 run git log -n 1 --pretty=fuller
26 pcommand git cl upload
27 echo "# Get LGTM or TBR."
28 run git cl land
OLDNEW
« no previous file with comments | « man/src/git-drover.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698