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

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

Issue 561433002: Clear up some git-drover docs confusion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 3 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.demo.1.sh ('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
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 . demo_repo.sh 2 . demo_repo.sh
3 3
4 # Add and tag a dummy commit to refer to later. 4 # Add and tag a dummy commit to refer to later.
5 drover_c() { 5 drover_c() {
6 add modified_file 6 add modified_file
7 set_user some.committer 7 set_user some.committer
8 c "$1" 8 c "$1"
9 silent git tag -f pick_commit 9 silent git tag -f pick_commit
10 set_user branch.maintainer 10 set_user you
11 tick 1000 11 tick 1000
12 } 12 }
13 13
14 silent git push origin refs/remotes/origin/master:refs/branch-heads/9999 14 silent git push origin refs/remotes/origin/master:refs/branch-heads/9999
15 silent git config --add remote.origin.fetch \ 15 silent git config --add remote.origin.fetch \
16 +refs/branch-heads/*:refs/remotes/branch-heads/* 16 +refs/branch-heads/*:refs/remotes/branch-heads/*
17 silent git fetch origin 17 silent git fetch origin
18 18
19 silent git checkout -B master origin/master 19 silent git checkout -B master origin/master
OLDNEW
« no previous file with comments | « man/src/git-drover.demo.1.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698