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

Side by Side Diff: docs/src/git-nav-downstream.txt

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/src/git-map.demo.1.sh ('k') | docs/src/git-nav-downstream.demo.1.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 git-nav-downstream(1) 1 git-nav-downstream(1)
2 ===================== 2 =====================
3 3
4 NAME 4 NAME
5 ---- 5 ----
6 git-nav-downstream - 6 git-nav-downstream -
7 include::_git-nav-downstream_desc.helper.txt[] 7 include::_git-nav-downstream_desc.helper.txt[]
8 8
9 SYNOPSIS 9 SYNOPSIS
10 -------- 10 --------
11 [verse] 11 [verse]
12 'git nav-downstream' 12 'git nav-downstream'
13 13
14 DESCRIPTION 14 DESCRIPTION
15 ----------- 15 -----------
16 16
17 'git-nav-downstream' takes the current branch and discovers all branches 17 'git-nav-downstream' takes the current branch and discovers all branches
18 downstream of it. If there is only one branch downstream of the current branch, 18 downstream of it. If there is only one branch downstream of the current branch,
19 the command will check that out. If there\'s more than one downstream branch, th e 19 the command will check that out. If there\'s more than one downstream branch, th e
20 command will prompt you with a selection of the branches. 20 command will prompt you with a selection of the branches.
21 21
22 EXAMPLE 22 EXAMPLE
23 ------- 23 -------
24 24 demo:1[]
25 [subs="quotes,attributes"]
26 ----
27 [white]**$ git map-branches**
28 [red]**origin/master *{zwsp}**
29 [green]#cool_feature#
30 [green]#subfeature#
31 [green]#frozen_changes#
32 [green]#master#
33 [fuchsia]#{NO UPSTREAM}#
34 [green]#bogus_noparent#
35 [white]**$ git nav-downstream**
36
37 Please select a downstream branch
38 0. cool_feature
39 1. frozen_changes
40 2. master
41 Selection (0-2)[0]: 0
42 [white]**$ git map-branches**
43 [red]##origin/master##
44 [aqua]**cool_feature *{zwsp}**
45 [green]#subfeature#
46 [green]#frozen_changes#
47 [green]#master#
48 [fuchsia]#{NO UPSTREAM}#
49 [green]#bogus_noparent#
50 ----
51 25
52 include::_aliases.txt[] 26 include::_aliases.txt[]
53 27
54 ---- 28 ----
55 [alias] 29 [alias]
56 git down = nav-downstream 30 git down = nav-downstream
57 ---- 31 ----
58 32
59 33
60 SEE ALSO 34 SEE ALSO
61 -------- 35 --------
62 linkgit:git-map-branches[1], linkgit:git-nav-upstream[1] 36 linkgit:git-map-branches[1], linkgit:git-nav-upstream[1]
63 37
64 include::_footer.txt[] 38 include::_footer.txt[]
65 39
66 // vim: ft=asciidoc: 40 // vim: ft=asciidoc:
OLDNEW
« no previous file with comments | « docs/src/git-map.demo.1.sh ('k') | docs/src/git-nav-downstream.demo.1.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698