OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | 2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
4 <head> | 4 <head> |
5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /
> | 5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /
> |
6 <meta name="generator" content="AsciiDoc 8.6.9" /> | 6 <meta name="generator" content="AsciiDoc 8.6.9" /> |
7 <title>git-drover(1)</title> | 7 <title>git-drover(1)</title> |
8 <style type="text/css"> | 8 <style type="text/css"> |
9 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ | 9 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
10 | 10 |
(...skipping 752 matching lines...) Loading... |
763 <div class="sect1"> | 763 <div class="sect1"> |
764 <h2 id="_description">DESCRIPTION</h2> | 764 <h2 id="_description">DESCRIPTION</h2> |
765 <div class="sectionbody"> | 765 <div class="sectionbody"> |
766 <div class="paragraph"><p><code>git drover</code> is NOT IMPLEMENTED yet. See th
e EXAMPLE section for the equivalent | 766 <div class="paragraph"><p><code>git drover</code> is NOT IMPLEMENTED yet. See th
e EXAMPLE section for the equivalent |
767 sequence of commands to run.</p></div> | 767 sequence of commands to run.</p></div> |
768 </div> | 768 </div> |
769 </div> | 769 </div> |
770 <div class="sect1"> | 770 <div class="sect1"> |
771 <h2 id="_example">EXAMPLE</h2> | 771 <h2 id="_example">EXAMPLE</h2> |
772 <div class="sectionbody"> | 772 <div class="sectionbody"> |
773 <div class="paragraph"><p> Before working with branches, you must 'gclient sync
--with_branch_heads' at least once to fetch the branches.</p></div><div class="l
istingblock"><div class="content"><pre><code><span style="font-weight: bold; col
or: #ffffff">$ git log -n 1 --pretty=fuller</span> | 773 <div class="paragraph"><p> Before working with branches, you must 'gclient sync
--with_branch_heads' at least once to fetch the branches.</p></div><div class="l
istingblock"><div class="content"><pre><code># Make sure we have the most up-to-
date branch sources. |
774 commit 49fde8547a38bf27d38cbf3fac783cdf2ddc5f47 | 774 <span style="font-weight: bold; color: #ffffff">$ git fetch</span> |
| 775 |
| 776 # Here's the commit we want to 'drover'. |
| 777 <span style="font-weight: bold; color: #ffffff">$ git log -n 1 --pretty=fuller</
span> |
| 778 commit 19b478428049b956b2dc389893c9ed7c05d1b175 |
775 Author: some.committer <some.committer@chromium.org> | 779 Author: some.committer <some.committer@chromium.org> |
776 AuthorDate: Thu Apr 10 08:54:46 2014 +0000 | 780 AuthorDate: Thu Apr 10 08:54:46 2014 +0000 |
777 Commit: some.committer <some.committer@chromium.org> | 781 Commit: some.committer <some.committer@chromium.org> |
778 CommitDate: Thu Apr 10 08:54:46 2014 +0000 | 782 CommitDate: Thu Apr 10 08:54:46 2014 +0000 |
779 | 783 |
780 This change needs to go to branch 9999 | 784 This change needs to go to branch 9999 |
| 785 |
| 786 # Checkout the branch we want to 'drover' to. |
781 <span style="font-weight: bold; color: #ffffff">$ git checkout -b drover_9999 br
anch-heads/9999</span> | 787 <span style="font-weight: bold; color: #ffffff">$ git checkout -b drover_9999 br
anch-heads/9999</span> |
782 Branch drover_9999 set up to track remote ref refs/branch-heads/9999. | 788 Branch drover_9999 set up to track remote ref refs/branch-heads/9999. |
783 # DO NOT leave off the '-x' flag | 789 |
784 <span style="font-weight: bold; color: #ffffff">$ git cherry-pick -x 49fde8547a3
8bf27d38cbf3fac783cdf2ddc5f47</span> | 790 # Now do the 'drover'. |
785 [drover_9999 1e33c2c] This change needs to go to branch 9999 | 791 # IMPORTANT!!! Do Not leave off the '-x' flag |
| 792 <span style="font-weight: bold; color: #ffffff">$ git cherry-pick -x 19b47842804
9b956b2dc389893c9ed7c05d1b175</span> |
| 793 [drover_9999 88e74e0] This change needs to go to branch 9999 |
786 Author: some.committer <some.committer@chromium.org> | 794 Author: some.committer <some.committer@chromium.org> |
787 Date: Thu Apr 10 08:54:46 2014 +0000 | 795 Date: Thu Apr 10 08:54:46 2014 +0000 |
788 1 file changed, 1 insertion(+) | 796 1 file changed, 1 insertion(+) |
789 create mode 100644 modified_file | 797 create mode 100644 modified_file |
| 798 |
| 799 # That took the code authored by some.commiter and commited it to the |
| 800 # branch by branch.maintainer (us). |
790 <span style="font-weight: bold; color: #ffffff">$ git log -n 1 --pretty=fuller</
span> | 801 <span style="font-weight: bold; color: #ffffff">$ git log -n 1 --pretty=fuller</
span> |
791 commit 1e33c2ccf642703a6c1c582210fe63980dc6c45b | 802 commit 88e74e0f2540eba7bc7bd4d6adb4b0d7923c9488 |
792 Author: some.committer <some.committer@chromium.org> | 803 Author: some.committer <some.committer@chromium.org> |
793 AuthorDate: Thu Apr 10 08:54:46 2014 +0000 | 804 AuthorDate: Thu Apr 10 08:54:46 2014 +0000 |
794 Commit: branch.maintainer <branch.maintainer@chromium.org> | 805 Commit: branch.maintainer <branch.maintainer@chromium.org> |
795 CommitDate: Thu Apr 10 09:11:36 2014 +0000 | 806 CommitDate: Thu Apr 10 09:11:36 2014 +0000 |
796 | 807 |
797 This change needs to go to branch 9999 | 808 This change needs to go to branch 9999 |
798 | 809 |
799 (cherry picked from commit 49fde8547a38bf27d38cbf3fac783cdf2ddc5f47) | 810 (cherry picked from commit 19b478428049b956b2dc389893c9ed7c05d1b175) |
| 811 |
| 812 # Looks good. Ship it! |
800 <span style="font-weight: bold; color: #ffffff">$ git cl upload</span> | 813 <span style="font-weight: bold; color: #ffffff">$ git cl upload</span> |
801 # Get LGTM or TBR. | 814 # Get LGTM or TBR. |
802 <span style="font-weight: bold; color: #ffffff">$ git cl land</span> | 815 <span style="font-weight: bold; color: #ffffff">$ git cl land</span> |
| 816 # Or skip the LGTM/TBR and just 'git cl land --bypass-hooks' |
803 </code></pre></div></div><p><div class="paragraph"></p></div> | 817 </code></pre></div></div><p><div class="paragraph"></p></div> |
804 </div> | 818 </div> |
805 </div> | 819 </div> |
806 <div class="sect1"> | 820 <div class="sect1"> |
807 <h2 id="_see_also">SEE ALSO</h2> | 821 <h2 id="_see_also">SEE ALSO</h2> |
808 <div class="sectionbody"> | 822 <div class="sectionbody"> |
809 <div class="paragraph"><p><a href="git-cherry-pick.html">git-cherry-pick(1)</a><
/p></div> | 823 <div class="paragraph"><p><a href="git-cherry-pick.html">git-cherry-pick(1)</a><
/p></div> |
810 </div> | 824 </div> |
811 </div> | 825 </div> |
812 <div class="sect1"> | 826 <div class="sect1"> |
813 <h2 id="_chromium_depot_tools">CHROMIUM DEPOT_TOOLS</h2> | 827 <h2 id="_chromium_depot_tools">CHROMIUM DEPOT_TOOLS</h2> |
814 <div class="sectionbody"> | 828 <div class="sectionbody"> |
815 <div class="paragraph"><p>Part of the chromium <a href="depot_tools.html">depot_
tools(7)</a> suite. These tools are meant to | 829 <div class="paragraph"><p>Part of the chromium <a href="depot_tools.html">depot_
tools(7)</a> suite. These tools are meant to |
816 assist with the development of chromium and related projects. Download the tools | 830 assist with the development of chromium and related projects. Download the tools |
817 from <a href="https://chromium.googlesource.com/chromium/tools/depot_tools.git">
here</a>.</p></div> | 831 from <a href="https://chromium.googlesource.com/chromium/tools/depot_tools.git">
here</a>.</p></div> |
818 </div> | 832 </div> |
819 </div> | 833 </div> |
820 </div> | 834 </div> |
821 <div id="footnotes"><hr /></div> | 835 <div id="footnotes"><hr /></div> |
822 <div id="footer"> | 836 <div id="footer"> |
823 <div id="footer-text"> | 837 <div id="footer-text"> |
824 Last updated 2014-08-20 16:12:01 PDT | 838 Last updated 2014-08-25 16:45:38 PDT |
825 </div> | 839 </div> |
826 </div> | 840 </div> |
827 </body> | 841 </body> |
828 </html> | 842 </html> |
OLD | NEW |