OLD | NEW |
1 '\" t | 1 '\" t |
2 .\" Title: git-nav-downstream | 2 .\" Title: git-mark-merge-base |
3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] | 3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] |
4 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> | 4 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> |
5 .\" Date: 03/14/2014 | 5 .\" Date: 03/23/2014 |
6 .\" Manual: Chromium depot_tools Manual | 6 .\" Manual: Chromium depot_tools Manual |
7 .\" Source: depot_tools a57ed8f | 7 .\" Source: depot_tools 936565b |
8 .\" Language: English | 8 .\" Language: English |
9 .\" | 9 .\" |
10 .TH "GIT\-NAV\-DOWNSTREAM" "1" "03/14/2014" "depot_tools a57ed8f" "Chromium depo
t_tools Manual" | 10 .TH "GIT\-MARK\-MERGE\-BA" "1" "03/23/2014" "depot_tools 936565b" "Chromium depo
t_tools Manual" |
11 .\" ----------------------------------------------------------------- | 11 .\" ----------------------------------------------------------------- |
12 .\" * Define some portability stuff | 12 .\" * Define some portability stuff |
13 .\" ----------------------------------------------------------------- | 13 .\" ----------------------------------------------------------------- |
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
15 .\" http://bugs.debian.org/507673 | 15 .\" http://bugs.debian.org/507673 |
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html | 16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
18 .ie \n(.g .ds Aq \(aq | 18 .ie \n(.g .ds Aq \(aq |
19 .el .ds Aq ' | 19 .el .ds Aq ' |
20 .\" ----------------------------------------------------------------- | 20 .\" ----------------------------------------------------------------- |
21 .\" * set default formatting | 21 .\" * set default formatting |
22 .\" ----------------------------------------------------------------- | 22 .\" ----------------------------------------------------------------- |
23 .\" disable hyphenation | 23 .\" disable hyphenation |
24 .nh | 24 .nh |
25 .\" disable justification (adjust text to left margin only) | 25 .\" disable justification (adjust text to left margin only) |
26 .ad l | 26 .ad l |
27 .\" ----------------------------------------------------------------- | 27 .\" ----------------------------------------------------------------- |
28 .\" * MAIN CONTENT STARTS HERE * | 28 .\" * MAIN CONTENT STARTS HERE * |
29 .\" ----------------------------------------------------------------- | 29 .\" ----------------------------------------------------------------- |
30 .SH "NAME" | 30 .SH "NAME" |
31 git-nav-downstream \- Checkout a downstream branch of the currently checked out
branch\&. | 31 git-mark-merge-base \- Manually interact with depot_tools\*(Aq merge\-base marke
rs\&. |
32 .SH "SYNOPSIS" | 32 .SH "SYNOPSIS" |
33 .sp | 33 .sp |
34 .nf | 34 .nf |
35 \fIgit nav\-downstream\fR | 35 \fIgit mark\-merge\-base\fR |
| 36 \fIgit mark\-merge\-base\fR <commit hash> |
| 37 \fIgit mark\-merge\-base\fR [\-d | \-\-delete] |
36 .fi | 38 .fi |
37 .sp | 39 .sp |
38 .SH "DESCRIPTION" | 40 .SH "DESCRIPTION" |
39 .sp | 41 .sp |
40 \fIgit\-nav\-downstream\fR takes the current branch and discovers all branches d
ownstream of it\&. If there is only one branch downstream of the current branch,
the command will check that out\&. If there\*(Aqs more than one downstream bran
ch, the command will prompt you with a selection of the branches\&. | 42 Inspect, set or delete the current merge\-base marker for the current branch\&.
This should not be needed, but is useful if things get into a snarled state\&. P
ass no arguments to view the current value\&. If you provide <commit hash>, then
git mark\-merge\-base will attempt to set that as the merge\-base value\&. |
41 .SH "EXAMPLE" | |
42 .sp | 43 .sp |
43 .if n \{\ | 44 It is invalid to pick a commit which is not an ancestor of the current branch\&. |
| 45 .sp |
| 46 See \fBgit-rebase-update\fR(1)\*(Aqs description of the branch\&.<name>\&.base c
onfiguration variable for more info on what the merge base markers are for\&. |
| 47 .SH "OPTIONS" |
| 48 .PP |
| 49 \-d, \-\-delete |
44 .RS 4 | 50 .RS 4 |
45 .\} | 51 Delete the merge\-base marker for the current branch\&. |
46 .nf | |
47 \fB$ git map\-branches\fR | |
48 \fBorigin/master *\:\fR | |
49 cool_feature | |
50 subfeature | |
51 frozen_changes | |
52 master | |
53 {NO UPSTREAM} | |
54 bogus_noparent | |
55 \fB$ git nav\-downstream\fR | |
56 | |
57 Please select a downstream branch | |
58 0\&. cool_feature | |
59 1\&. frozen_changes | |
60 2\&. master | |
61 Selection (0\-2)[0]: 0 | |
62 \fB$ git map\-branches\fR | |
63 origin/master | |
64 \fBcool_feature *\:\fR | |
65 subfeature | |
66 frozen_changes | |
67 master | |
68 {NO UPSTREAM} | |
69 bogus_noparent | |
70 .fi | |
71 .if n \{\ | |
72 .RE | 52 .RE |
73 .\} | 53 .PP |
74 .sp | 54 <commit hash> |
| 55 .RS 4 |
| 56 The new value to set for the current branch\(cqs merge\-base marker\&. |
| 57 .RE |
75 .SH "SEE ALSO" | 58 .SH "SEE ALSO" |
76 .sp | 59 .sp |
77 \fBgit-map-branches\fR(1), \fBgit-nav-upstream\fR(1) | 60 \fBgit-rebase-update\fR(1), \fBgit-reparent-branch\fR(1), \fBgit-rename-branch\f
R(1), \fBgit-upstream-diff\fR(1) |
78 .SH "CHROMIUM DEPOT_TOOLS" | 61 .SH "CHROMIUM DEPOT_TOOLS" |
79 .sp | 62 .sp |
80 Part of the chromium \fBdepot_tools\fR(1) suite\&. These tools are meant to assi
st with the development of chromium and related projects\&. Download the tools f
rom \m[blue]\fBhere\fR\m[]\&\s-2\u[1]\d\s+2\&. | 63 Part of the chromium \fBdepot_tools\fR(1) suite\&. These tools are meant to assi
st with the development of chromium and related projects\&. Download the tools f
rom \m[blue]\fBhere\fR\m[]\&\s-2\u[1]\d\s+2\&. |
81 .SH "NOTES" | 64 .SH "NOTES" |
82 .IP " 1." 4 | 65 .IP " 1." 4 |
83 here | 66 here |
84 .RS 4 | 67 .RS 4 |
85 \%https://chromium.googlesource.com/chromium/tools/depot_tools.git | 68 \%https://chromium.googlesource.com/chromium/tools/depot_tools.git |
86 .RE | 69 .RE |
OLD | NEW |