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

Side by Side Diff: docs/src/git-map.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-freeze.demo.1.sh ('k') | docs/src/git-map-branches.txt » ('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-map(1) 1 git-map(1)
2 ========== 2 ==========
3 3
4 NAME 4 NAME
5 ---- 5 ----
6 git-map - 6 git-map -
7 include::_git-map_desc.helper.txt[] 7 include::_git-map_desc.helper.txt[]
8 8
9 SYNOPSIS 9 SYNOPSIS
10 -------- 10 --------
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 ~~~~~~~~~~~~~~~~~~~~~ 44 ~~~~~~~~~~~~~~~~~~~~~
45 45
46 Each value of the 'depot-tools.map-extra' config variable is applied as an 46 Each value of the 'depot-tools.map-extra' config variable is applied as an
47 additional argument to `git log` during the execution of git map. If you wish to 47 additional argument to `git log` during the execution of git map. If you wish to
48 configure this, use git `config --add depot-tools.map-extra <value>` to do so. 48 configure this, use git `config --add depot-tools.map-extra <value>` to do so.
49 49
50 EXAMPLE 50 EXAMPLE
51 ------- 51 -------
52 52
53 Running 'git map' would result in an output something like: 53 Running 'git map' would result in an output something like:
54 54 demo:1[]
55 [subs="specialcharacters,quotes,attributes"]
56 ----
57 [white]**$ git map**
58 [white blue-background]##*##{zwsp}[blue-background red]** 7dcfe47 ** [gree n]##(##{zwsp}[aqua]**frozen_changes**{zwsp}[green]##)## [yellow]##2014-03-12## \ ~ FREEZE.unindexed
59 * [red]**4b0c180** [yellow]##2014-03-12## \~ modfile
60 * [red]**59a7cca** [yellow]##2014-03-12## \~ a deleted file
61 * [red]**6bec695** [green]##(##{zwsp}[red]##origin/master##{zwsp}[green]# #)## [yellow]##2014-03-11## \~ Add neat feature [white]**<(frozen_changes)**
62 * [red]**d15a38a** [yellow]##2014-03-11## \~ Epic README update
63 * [red]**d559894** [green]##(##{zwsp}[lime]**master**{zwsp}[green]##)## [ yellow]##2014-03-11## \~ Important upstream change
64 [red]##|## * [red]**9c311fd** [green]##(##{zwsp}[lime]**cool_feature**{zwsp }[green]##)## [yellow]##2014-03-11## \~ Respond to CL comments
65 [red]##|## [green]##|## * [red]**2a1eeb2** [green]##(##{zwsp}[lime]**subfeatu re**{zwsp}[green]##)## [yellow]##2014-03-11## \~ integrate with CoolService
66 [red]##|## [green]##|## * [red]**d777af6** [yellow]##2014-03-11## \~ slick co mmenting action
67 [red]##|## [green]##|/##
68 [red]##|## * [red]**265803a** [yellow]##2014-03-11## \~ another improvement [white]**<(subfeature)**
69 [red]##|## * [red]**6d831ac** [green]##(##{zwsp}[fuchsia]**spleen_tag**{zws p}[green]##)## [yellow]##2014-03-11## \~ Refactor spleen
70 [red]##|## * [red]**82e74ab** [yellow]##2014-03-11## \~ Add widget
71 [red]##|/##
72 * [red]**d08c5b3** [green]##(##{zwsp}[lime]**bogus_noparent**{zwsp}[green ]##)## [yellow]##2014-03-11## ~ Wonderful beginnings [white]**<(cool_feature) **
73 ----
74 55
75 As you can see, the structure of the commit history is visible, particularly 56 As you can see, the structure of the commit history is visible, particularly
76 what the parents of each commit are. In order to see the 'upstream' 57 what the parents of each commit are. In order to see the 'upstream'
77 relationships of the branches (i.e. which branch is tracking which other 58 relationships of the branches (i.e. which branch is tracking which other
78 branch), use the linkgit:git-map-branches[1] command. 59 branch), use the linkgit:git-map-branches[1] command.
79 60
80 SEE ALSO 61 SEE ALSO
81 -------- 62 --------
82 linkgit:git-map-branches[1] 63 linkgit:git-map-branches[1]
83 64
84 include::_footer.txt[] 65 include::_footer.txt[]
85 66
86 // vim: ft=asciidoc: 67 // vim: ft=asciidoc:
OLDNEW
« no previous file with comments | « docs/src/git-freeze.demo.1.sh ('k') | docs/src/git-map-branches.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698