OLD | NEW |
---|---|
(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 run git cherry-pick -x $(git show-ref -s pick_commit) | |
iannucci
2014/08/20 23:01:05
add a comment that the -x is very important
Michael Moss
2014/08/20 23:21:07
Done.
| |
24 run git log -n 1 --pretty=fuller | |
25 pcommand git cl upload | |
26 echo "# Get LGTM or TBR." | |
27 run git cl land | |
OLD | NEW |