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

Side by Side Diff: docs/man1/git-nav-downstream.1

Issue 259863004: Move docs folder to man. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « docs/man1/git-mark-merge-base.1 ('k') | docs/man1/git-nav-upstream.1 » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 '\" t
2 .\" Title: git-nav-downstream
3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
5 .\" Date: 04/10/2014
6 .\" Manual: Chromium depot_tools Manual
7 .\" Source: depot_tools 1ce0237
8 .\" Language: English
9 .\"
10 .TH "GIT\-NAV\-DOWNSTREAM" "1" "04/10/2014" "depot_tools 1ce0237" "Chromium depo t_tools Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 git-nav-downstream \- Checkout a downstream branch of the currently checked out branch\&.
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 \fIgit nav\-downstream\fR
36 .fi
37 .sp
38 .SH "DESCRIPTION"
39 .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\&.
41 .SH "EXAMPLE"
42 .sp
43
44 .sp
45 .if n \{\
46 .RS 4
47 .\}
48 .nf
49 \fB$ git map\-branches\fR
50 \fBorigin/master *
51 \fR cool_feature
52 subfeature
53 fixit
54 frozen_branch
55 \fB$ git nav\-downstream\fR
56 Please select a downstream branch
57 0\&. cool_feature
58 1\&. fixit
59 Selection (0\-1)[0]: 0
60 Previous HEAD position was beec6f4\&.\&.\&. Make ReflectorImpl use mailboxes
61 Switched to branch \*(Aqcool_feature\*(Aq
62 Your branch is ahead of \*(Aqorigin/master\*(Aq by 4 commits\&.
63 (use "git push" to publish your local commits)
64 \fB$ git map\-branches\fR
65 origin/master
66 \fB cool_feature *
67 \fR subfeature
68 fixit
69 frozen_branch
70 \fB$ git nav\-downstream\fR
71 Switched to branch \*(Aqsubfeature\*(Aq
72 Your branch and \*(Aqcool_feature\*(Aq have diverged,
73 and have 2 and 1 different commit each, respectively\&.
74 (use "git pull" to merge the remote branch into yours)
75 \fB$ git map\-branches\fR
76 origin/master
77 cool_feature
78 \fB subfeature *
79 \fR fixit
80 frozen_branch
81 .fi
82 .if n \{\
83 .RE
84 .\}
85 .sp
86 .SH "SUGGESTED ALIASES"
87 .sp
88 Some common short\-hand aliases\&. Feel free to add these to your \fI~/\&.gitcon fig\fR file\&.
89 .sp
90 .if n \{\
91 .RS 4
92 .\}
93 .nf
94 [alias]
95 git down = nav\-downstream
96 .fi
97 .if n \{\
98 .RE
99 .\}
100 .sp
101 .SH "SEE ALSO"
102 .sp
103 \fBgit-map-branches\fR(1), \fBgit-nav-upstream\fR(1)
104 .SH "CHROMIUM DEPOT_TOOLS"
105 .sp
106 Part of the chromium \fBdepot_tools\fR(7) 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\&.
107 .SH "NOTES"
108 .IP " 1." 4
109 here
110 .RS 4
111 \%https://chromium.googlesource.com/chromium/tools/depot_tools.git
112 .RE
OLDNEW
« no previous file with comments | « docs/man1/git-mark-merge-base.1 ('k') | docs/man1/git-nav-upstream.1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698