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

Side by Side Diff: docs/src/git-map-branches.txt

Issue 200903002: Add documentation for git-map-branches, git-map, git-nav-downstream, (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@documentation
Patch Set: rebase Created 6 years, 9 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.txt ('k') | docs/src/git-nav-downstream.txt » ('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 git-map-branches(1)
2 ===================
3
4 NAME
5 ----
6 git-map-branches -
7 include::_git-map-branches_desc.helper.txt[]
8
9 SYNOPSIS
10 --------
11 [verse]
12 'git map-branches'
13
14 DESCRIPTION
15 -----------
16
17 Git map-branches displays all local branches such that:
18
19 * Current branch is [aqua]#cyan#.
20 ** The branch which will be modified with git-commit is denoted with an asterisk
21 (`*`) after the name.
22 * Local branches are [green]#green#.
23 * Remote branches are [red]#red# (usually, the root of all other branches).
24 * `{NO UPSTREAM}` is a special placeholder in [fuchsia]#magenta#.
25 ** Branches which have this as their parent are usually misconfigured, and
26 should be assigned a parent by checking out the branch and running git branch
27 --set-upstream-to=<correct parent branch>.
28
29 NOTE: If multiple branches are on the same commit, they will all be cyan.
30
31 EXAMPLE
32 -------
33
34 Given the hypothetical demo repo in linkgit:git-map[1]\'s EXAMPLE section, and
35 assuming that the `frozen_changes` branch was currently checked out, running
36 'git map-branches' would result in an output like:
37
38 [subs="quotes"]
39 ----
40 [white]**$ git map-branches**
41 [red]#origin/master#
42 [green]#cool_feature#
43 [green]#subfeature#
44 [aqua]#frozen_changes *#
45 [green]#master#
46 [fuchsia]#{NO UPSTREAM}#
47 [green]#bogus_noparent#
48 [aqua]#duplicate_cool_feature_no_upstream#
49 ----
50
51 SEE ALSO
52 --------
53 linkgit:git-map[1]
54
55 include::_footer.txt[]
56
57 // vim: ft=asciidoc noexpandtab:
OLDNEW
« no previous file with comments | « docs/src/git-map.txt ('k') | docs/src/git-nav-downstream.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698