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

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

Issue 225433003: Add a basic tutorial for the tools in depot_tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@git_map
Patch Set: pylint Created 6 years, 8 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
1 '\" t 1 '\" t
2 .\" Title: git-nav-downstream 2 .\" Title: git-nav-downstream
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/25/2014 5 .\" Date: 04/10/2014
6 .\" Manual: Chromium depot_tools Manual 6 .\" Manual: Chromium depot_tools Manual
7 .\" Source: depot_tools 207bff1 7 .\" Source: depot_tools 1ce0237
8 .\" Language: English 8 .\" Language: English
9 .\" 9 .\"
10 .TH "GIT\-NAV\-DOWNSTREAM" "1" "03/25/2014" "depot_tools 207bff1" "Chromium depo t_tools Manual" 10 .TH "GIT\-NAV\-DOWNSTREAM" "1" "04/10/2014" "depot_tools 1ce0237" "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 .\" -----------------------------------------------------------------
(...skipping 12 matching lines...) Expand all
33 .sp 33 .sp
34 .nf 34 .nf
35 \fIgit nav\-downstream\fR 35 \fIgit nav\-downstream\fR
36 .fi 36 .fi
37 .sp 37 .sp
38 .SH "DESCRIPTION" 38 .SH "DESCRIPTION"
39 .sp 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\&. 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" 41 .SH "EXAMPLE"
42 .sp 42 .sp
43
44 .sp
43 .if n \{\ 45 .if n \{\
44 .RS 4 46 .RS 4
45 .\} 47 .\}
46 .nf 48 .nf
47 \fB$ git map\-branches\fR 49 \fB$ git map\-branches\fR
48 \fBorigin/master *\:\fR 50 \fBorigin/master *
49 cool_feature 51 \fR cool_feature
50 subfeature 52 subfeature
51 frozen_changes 53 fixit
52 master 54 frozen_branch
53 {NO UPSTREAM}
54 bogus_noparent
55 \fB$ git nav\-downstream\fR 55 \fB$ git nav\-downstream\fR
56
57 Please select a downstream branch 56 Please select a downstream branch
58 0\&. cool_feature 57 0\&. cool_feature
59 1\&. frozen_changes 58 1\&. fixit
60 2\&. master 59 Selection (0\-1)[0]: 0
61 Selection (0\-2)[0]: 0 60 Previous HEAD position was 619ccc9\&.\&.\&. 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)
62 \fB$ git map\-branches\fR 64 \fB$ git map\-branches\fR
63 origin/master 65 origin/master
64 \fBcool_feature *\:\fR 66 \fB cool_feature *
65 subfeature 67 \fR subfeature
66 frozen_changes 68 fixit
67 master 69 frozen_branch
68 {NO UPSTREAM} 70 \fB$ git nav\-downstream\fR
69 bogus_noparent 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
70 .fi 81 .fi
71 .if n \{\ 82 .if n \{\
72 .RE 83 .RE
73 .\} 84 .\}
74 .sp 85 .sp
75 .SH "SUGGESTED ALIASES" 86 .SH "SUGGESTED ALIASES"
76 .sp 87 .sp
77 Some common short\-hand aliases\&. Feel free to add these to your \fI~/\&.gitcon fig\fR file\&. 88 Some common short\-hand aliases\&. Feel free to add these to your \fI~/\&.gitcon fig\fR file\&.
78 .sp 89 .sp
79 .if n \{\ 90 .if n \{\
80 .RS 4 91 .RS 4
81 .\} 92 .\}
82 .nf 93 .nf
83 [alias] 94 [alias]
84 git down = nav\-downstream 95 git down = nav\-downstream
85 .fi 96 .fi
86 .if n \{\ 97 .if n \{\
87 .RE 98 .RE
88 .\} 99 .\}
89 .sp 100 .sp
90 .SH "SEE ALSO" 101 .SH "SEE ALSO"
91 .sp 102 .sp
92 \fBgit-map-branches\fR(1), \fBgit-nav-upstream\fR(1) 103 \fBgit-map-branches\fR(1), \fBgit-nav-upstream\fR(1)
93 .SH "CHROMIUM DEPOT_TOOLS" 104 .SH "CHROMIUM DEPOT_TOOLS"
94 .sp 105 .sp
95 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\&. 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\&.
96 .SH "NOTES" 107 .SH "NOTES"
97 .IP " 1." 4 108 .IP " 1." 4
98 here 109 here
99 .RS 4 110 .RS 4
100 \%https://chromium.googlesource.com/chromium/tools/depot_tools.git 111 \%https://chromium.googlesource.com/chromium/tools/depot_tools.git
101 .RE 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