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

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

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

Powered by Google App Engine
This is Rietveld 408576698